[SR-13658] Crash printing @_typeEraser attribute in SourceKit CursorInfo request on View #56095
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
found by stress tester
Flag: An issue found by the SourceKit stress tester
Additional Detail from JIRA
md5: 7d47f94dbc8884985634e917fac4a01c
Issue Description:
Here's a test that reproduces the issue on main:
It seems to be from dereferencing into a null type here:
https://github.com/apple/swift/blob/main/lib/AST/Attr.cpp#L980
attr->getTypeWithoutResolving()->print(Printer, Options);
And here's the trace:
The text was updated successfully, but these errors were encountered: