WIP: dev #1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user