Assigning template to var/let/const gives a proper error (#12851)
* Assigning template to var/let/const gives a proper error * Fix style
This commit is contained in:
parent
a3d45d0c1b
commit
7ebb2baa6c
4 changed files with 24 additions and 7 deletions
|
|
@ -1,5 +1,5 @@
|
|||
discard """
|
||||
errormsg: "cannot assign macro symbol to constant here"
|
||||
errormsg: "cannot assign macro 'm' to 'x2'. Did you mean to call the macro with '()'?"
|
||||
line: 9
|
||||
"""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue