diff --git a/source/tlang/compiler/typecheck/core.d b/source/tlang/compiler/typecheck/core.d index 9b7d247..f718180 100644 --- a/source/tlang/compiler/typecheck/core.d +++ b/source/tlang/compiler/typecheck/core.d @@ -116,6 +116,9 @@ public final class TypeChecker * valid type names * * This is called on a Container + * + * TODO: Should we also do expression parsing or rather do another call for that + * mmmmh */ private void checkTypedEntitiesTypeNames(Container c) { diff --git a/source/tlang/testing/basic1_typedeclrationchecking.t b/source/tlang/testing/basic1_typedeclrationchecking.t index 8948ac0..07da25f 100644 --- a/source/tlang/testing/basic1_typedeclrationchecking.t +++ b/source/tlang/testing/basic1_typedeclrationchecking.t @@ -29,7 +29,7 @@ protected Them.Container fsdhsdj; class kl { - Shekshi l; + Shekshi l = new Shekshi(); kl o; }