| Index: src/ast/ast.h
|
| diff --git a/src/ast/ast.h b/src/ast/ast.h
|
| index c3c2d887597c8b0f42f22113e9c0639db85e2d4a..9e5208150c5eb9e35b57235dd11facf449e84120 100644
|
| --- a/src/ast/ast.h
|
| +++ b/src/ast/ast.h
|
| @@ -2936,7 +2936,7 @@ class EmptyParentheses final : public Expression {
|
| // Nodes for the optional type system.
|
| namespace typesystem {
|
|
|
| -enum TypeFlags {
|
| +enum TypeFlagsEnum {
|
| kNormalTypes = 0,
|
| kDisallowTypeParameters = 1 << 0,
|
| kDisallowTypeAnnotation = 1 << 1,
|
| @@ -2944,6 +2944,8 @@ enum TypeFlags {
|
| kConstructorTypes = kDisallowTypeParameters | kDisallowTypeAnnotation
|
| };
|
|
|
| +typedef base::Flags<TypeFlagsEnum> TypeFlags;
|
| +
|
| class FormalParameter;
|
|
|
|
|
|
|