Skip to content

Do not parse parameter annotations on decl unless the if lambda expression is actually a Module expression. Raise compilation error if parameter annotation is present in not sensible place

Previously annotations on class inside module expression were treated as parameter annotations. The observable error this caused is that annotation value gets stored in enclosing module class' constant pool, but this pool entry is invalidly referenced from the inner class. Can be seen with test annotions1.scm.

Merge request reports