-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nested type declaration shall yield a syntax error (#4011)
Nested type declaration shall yield a syntax error # Important Notes Now the Radek's sample: ``` type Foo type Bar main = 42 ``` yields ```bash $ enso --run test.enso In module test: Compiler encountered errors: test.enso[2:9-2:16]: Unexpected declaration in the body of a type. Aborting due to 1 errors and 0 warnings. Execution finished with an error: Compilation aborted due to errors. ```
- Loading branch information
1 parent
0041b64
commit af57d14
Showing
2 changed files
with
14 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters