-
Notifications
You must be signed in to change notification settings - Fork 62
Enable default module.ceylon (review only) #4128
Comments
[@lucaswerkmeister] CC #3306, the |
[@quintesse] @lucaswerkmeister This is just so you can add a |
[@lucaswerkmeister] Right, for a script this needs to be allowed in a regular CU (not the three kinds of CU we have today). |
[@akberc] @gavinking Does the grammar look OK?, as that will drive the code and testing. As the language allows multiple type declarations in a source file, is the need for both |
[@gavinking] I dunno, I'm not totally convinced that we shouldn't make them write |
Writing |
[@quintesse] @gavinking we never decided what to do with this and has been sitting here for a long time. Don't you think this could be worthwhile? |
[@akberc] This pull request is just for review and discussion. Default module with name "default" with package "" seems to compile and run fine, with no detrimental effect on existing compilation or compilation of default module without module.ceylon:
Although the compilers compiles the default module with module.ceylon and package.ceylon fine without imports, it does not add dependencies to the module annotation, although they are present in the typechecker. Some additional errors are also thrown.
[Migrated from ceylon/ceylon-spec#1022]
The text was updated successfully, but these errors were encountered: