Fix typo
This commit is contained in:
@@ -535,7 +535,7 @@ public class Parser
|
||||
if (type is not NubStructType structType)
|
||||
{
|
||||
throw new ParseException(Diagnostic
|
||||
.Error($"Cannot use new keyword on type {type}")
|
||||
.Error($"Cannot alloc type '{type}'")
|
||||
.At(symbolToken)
|
||||
.Build());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user