elan-language / LanguageAndIDE

Apache License 2.0
3 stars 0 forks source link

Unexpected parse error with 'let copy' #709

Closed scascarini closed 2 months ago

scascarini commented 2 months ago

https://github.com/elan-language/LanguageAndIDE/blob/5b37c9980c49373c265eba3e34b93fdccf657bb7/test/compiler/T54_with.test.ts#L97

richardpawson commented 2 months ago

I did manage to create this code in the editor, save it and load it back in:

image

I did have a bit of difficulty creating the code in the first place via the editor (though succeeded in the end). Needs a bit more investigation as to why you are getting a parse error in the test.

scascarini commented 2 months ago

I forgot 'let' is not valid in 'main'