We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8c1fa18 commit 9f3ce76Copy full SHA for 9f3ce76
src/AST/Type.cs
@@ -30,7 +30,7 @@ public abstract T Visit<T>(ITypeVisitor<T> visitor, TypeQualifiers quals
30
31
public override string ToString()
32
{
33
- return TypePrinterDelegate(this);
+ return TypePrinterDelegate == null ? base.ToString() : TypePrinterDelegate(this);
34
}
35
36
public abstract object Clone();
0 commit comments