Make useVersion:1.0 disable the proc arg sym change (#15570)

* Make useVersion:1.0 disable the proc arg sym change

* Also do this for useVersion:1.2
This commit is contained in:
Clyybber 2020-10-14 16:07:25 +02:00 • committed by GitHub
commit 977bccdbff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 2 deletions

View file

@ -248,7 +248,10 @@
```
- `getImpl` on enum type symbols now returns field syms instead of idents. This helps
with writing typed macros. Old behavior for backwards compatibility can be restored
with command line switch `--useVersion:1.0`.
with `--useVersion:1.0`.
- The typed AST for proc headers will now have the arguments be syms instead of idents.
This helps with writing typed macros. Old behaviour for backwards compatibility can
be restored with `--useVersion:1.0`.
- ``let`` statements can now be used without a value if declared with
``importc``/``importcpp``/``importjs``/``importobjc``.
- The keyword `from` is now usable as an operator.