mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Sema: Bring back 'assignment' as an infix operator modifier.
We need it to decide whether to admit infix operators into an optional chain, such as 'x? = 0' or 'x?.y += 2'. Swift SVN r20295
This commit is contained in:
@@ -782,8 +782,10 @@ namespace decls_block {
|
||||
DeclIDField, // context decl
|
||||
AssociativityField,
|
||||
BCFixed<8>, // precedence
|
||||
BCFixed<1>, // assignment
|
||||
BCFixed<1>, // IsAccocImplicit flag
|
||||
BCFixed<1> // IsPrecedenceImplicit flag
|
||||
BCFixed<1>, // IsPrecedenceImplicit flag
|
||||
BCFixed<1> // IsAssignmentImplicit flag
|
||||
>;
|
||||
|
||||
using EnumElementLayout = BCRecordLayout<
|
||||
|
||||
Reference in New Issue
Block a user