WIP: dev #1

Draft
nub31 wants to merge 103 commits from dev into master
Showing only changes of commit 9fb9c50a0b - Show all commits

View File

@@ -60,7 +60,7 @@ public sealed class TypeResolver(string fileName)
{
var structType = structTypes.GetValueOrDefault(type.Name.Ident);
if (structType == null)
throw new CompileException(Diagnostic.Error($"Unknown custom type: {type}").At(fileName, type).Build());
throw new CompileException(Diagnostic.Error($"Unknown custom type: {type.Name.Ident}").At(fileName, type).Build());
return structType;
}