[SR-12999] Assertion failed: (!factory.isOutsideBodyOfFunction(afd) && "Should be inside"), function lookInMembers #55444
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: 5135d624c3d79c7a7991cce40eba3076
Issue Description:
Compile the below to reproduce. Also crashes sourcekit.
It's a different assertion, but it seems like it might be related to https://bugs.swift.org/browse/SR-12997. (both have an interpolated string at the end of their source range, so I'm guessing this is due to the interpolation content being past the token-start-based parent end location).
Trace:
The text was updated successfully, but these errors were encountered: