ref
This commit is contained in:
@@ -716,6 +716,12 @@ public sealed class Parser
|
||||
}
|
||||
}
|
||||
|
||||
if (TryExpectSymbol(Symbol.Ampersand))
|
||||
{
|
||||
var baseType = ParseType();
|
||||
return new RefTypeSyntax(GetTokens(startIndex), baseType);
|
||||
}
|
||||
|
||||
if (TryExpectSymbol(Symbol.Caret))
|
||||
{
|
||||
var baseType = ParseType();
|
||||
|
||||
Reference in New Issue
Block a user