Updated TODO
Removed static marking of Module-level class and struct definitionstypecheck_reliancetree
parent
3a9a43b258
commit
bffcaa0898
|
@ -1281,9 +1281,6 @@ public final class Parser
|
||||||
{
|
{
|
||||||
Clazz clazz = parseClass();
|
Clazz clazz = parseClass();
|
||||||
|
|
||||||
/* All classes declared at the Module level are static by default */
|
|
||||||
clazz.setModifierType(InitScope.STATIC);
|
|
||||||
|
|
||||||
/* Add the class definition to the program */
|
/* Add the class definition to the program */
|
||||||
modulle.addStatement(clazz);
|
modulle.addStatement(clazz);
|
||||||
}
|
}
|
||||||
|
@ -1292,9 +1289,6 @@ public final class Parser
|
||||||
{
|
{
|
||||||
Struct ztruct = parseStruct();
|
Struct ztruct = parseStruct();
|
||||||
|
|
||||||
/* All structs declared at the Module level are static by default */
|
|
||||||
ztruct.setModifierType(InitScope.STATIC);
|
|
||||||
|
|
||||||
/* Add the struct definition to the program */
|
/* Add the struct definition to the program */
|
||||||
modulle.addStatement(ztruct);
|
modulle.addStatement(ztruct);
|
||||||
}
|
}
|
||||||
|
|
6
todo1.md
6
todo1.md
|
@ -25,8 +25,10 @@ TODO List
|
||||||
## Typechecking
|
## Typechecking
|
||||||
|
|
||||||
- [ ] Dependency generation
|
- [ ] Dependency generation
|
||||||
- [ ] Classes declared at the module level should be marked as static in `parse()` (not in `parseBody()` <- this is a note we don't do this)
|
- [ ] Classes declared at the module level should be ~~marked~~ seen as static in `parse()` (not in `parseBody()` <- this is a note we don't do this)
|
||||||
- [ ] Structs declared at the module level should be marked as static in `parse()` (not in `parseBody()` <- this is a note we don't do this)
|
- [ ] Structs declared at the module level should be marked as ~~marked~~ seen in `parse()` (not in `parseBody()` <- this is a note we don't do this)
|
||||||
|
- [ ] Functions (?) declared at the module level should be ~~marked~~ seen as static in `parse()` (not in `parseBody()` <- this is a note we don't do this)
|
||||||
|
- [ ] Variables declared at the module level should be marked as ~~marked~~ seen in `parse()` (not in `parseBody()` <- this is a note we don't do this)
|
||||||
|
|
||||||
# Future
|
# Future
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue