mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
subsume the "startsWithGreater" logic into skipUntilGreaterInTypeList, and
make sure skipUntilGreaterInTypeList return a valid location even in the case of parse errors. This ensures that we form a valid source range. Also, improve parseExprIdentifier() to handle the case when skipUntilGreaterInTypeList returns an empty archetype argument list. This fixes a couple of compiler crashers.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
// RUN: not --crash %target-sil-opt %s
|
||||
C<@convention()>{
|
||||
Reference in New Issue
Block a user