basename supports pragmaexpr (#13045)

* basename supports pragmaexpr

* update changelog
This commit is contained in:
b3liever 2020-01-07 12:25:51 +02:00 • committed by Andreas Rumpf
commit 8bcc7e8b9e
2 changed files with 6 additions and 3 deletions

View file

@ -16,7 +16,8 @@
- `set[T].len` is now an alias for `set[T].card` (cardinality)
## Library changes
- `macros.basename` and `basename=` got support for `PragmaExpr`,
so that an expression like `MyEnum {.pure.}` is handled correctly.
## Language additions