Ditch the IReadonlyCollection bullshit

This commit is contained in:
nub31
2025-01-30 11:57:29 +01:00
parent 305731bddb
commit 5a8efcf237
13 changed files with 33 additions and 33 deletions

View File

@@ -42,7 +42,7 @@ internal static class Program
}
var modules = RunFrontend(input);
var definitions = modules.SelectMany(f => f.Definitions).ToArray();
var definitions = modules.SelectMany(f => f.Definitions).ToList();
var typer = new ExpressionTyper(definitions);
typer.Populate();
@@ -54,7 +54,7 @@ internal static class Program
return 0;
}
private static IEnumerable<ModuleNode> RunFrontend(string path)
private static List<ModuleNode> RunFrontend(string path)
{
List<ModuleNode> modules = [];
RunFrontend(path, modules);