Renamed `checkContainer` to `checkContainerCollision`

entity_declaration_type_checking
Tristan B. V. Kildaire 2021-04-29 17:54:26 +02:00
parent eefb78158d
commit 88e2dc03e1
1 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ public final class TypeChecker
* Classes being declared before Functions and * Classes being declared before Functions and
* Functions before Variables * Functions before Variables
*/ */
checkContainer(modulle); /* TODO: Rename checkContainerCollision */ checkContainerCollision(modulle); /* TODO: Rename checkContainerCollision */
/* TODO: Now that everything is defined, no collision */ /* TODO: Now that everything is defined, no collision */
/* TODO: Do actual type checking and declarations */ /* TODO: Do actual type checking and declarations */
@ -280,7 +280,7 @@ public final class TypeChecker
* call `checkContainer` on said Entity and the * call `checkContainer` on said Entity and the
* logic above applies again * logic above applies again
*/ */
private void checkContainer(Container c) private void checkContainerCollision(Container c)
{ {
/** /**
* TODO: Always make sure this holds * TODO: Always make sure this holds
@ -342,7 +342,7 @@ public final class TypeChecker
Container possibleContainerEntity = cast(Container) entity; Container possibleContainerEntity = cast(Container) entity;
if (possibleContainerEntity) if (possibleContainerEntity)
{ {
checkContainer(possibleContainerEntity); checkContainerCollision(possibleContainerEntity);
} }
} }
} }