Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
/ druntime Public archive
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion src/core/demangle.d
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,6 @@ pure @safe:
return dst[beg .. len];
case 'F': case 'U': case 'W': case 'V': case 'R': // TypeFunction
return parseTypeFunction( name );
case 'I': // TypeIdent (I LName)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So TypeIdent is not currently being used? Do you know what it was supposed to mean?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TypeIdentifier is part of the grammar, but it must be resolved to some other entity during semantics. See https://github.com/dlang/dmd/pull/10526/files#diff-ee89b0981cbb7f8ab2412e68a427d52aR100 for other similar "types".

case 'C': // TypeClass (C LName)
case 'S': // TypeStruct (S LName)
case 'E': // TypeEnum (E LName)
Expand Down Expand Up @@ -1237,6 +1236,11 @@ pure @safe:
}
switch ( front )
{
case 'I': // in (I Type)
popFront();
put( "in " );
parseType();
continue;
case 'J': // out (J Type)
popFront();
put( "out " );
Expand Down