Skip to content

Commit

Permalink
Containers
Browse files Browse the repository at this point in the history
- Added a TODO
  • Loading branch information
deavmi committed Mar 18, 2024
1 parent 48f0780 commit 7a2ea96
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/tlang/compiler/symbols/containers.d
Expand Up @@ -89,6 +89,7 @@ public class Module : Entity, Container

public Statement[] getStatements()
{
// TODO: Holy naai this is expensive
return weightReorder(statements);
}

Expand Down Expand Up @@ -189,6 +190,7 @@ public class Struct : Type, Container, MCloneable

public Statement[] getStatements()
{
// TODO: Holy naai this is expensive
return weightReorder(statements);
}

Expand Down Expand Up @@ -354,6 +356,7 @@ public class Clazz : Type, Container

public Statement[] getStatements()
{
// TODO: Holy naai this is expensive
return weightReorder(statements);
}

Expand Down

0 comments on commit 7a2ea96

Please sign in to comment.