mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
The amp_prefix token is currently tolerated in any unary expression context and then diagnosed later by Sema. This patch changes parsing to only accept tok::amp_prefix in its allowed position: parameter lists. This also fixes two "compiler crasher" tests.
34 KiB
34 KiB