allow literan enum const assertions (#30700)

* allow literan enum const assertions

* update desc
This commit is contained in:
Wenlu Wang
2019-04-25 12:09:21 -05:00
committed by Ryan Cavanaugh
parent b0100100a1
commit bc46c770bf
8 changed files with 520 additions and 8 deletions

View File

@@ -1031,7 +1031,7 @@
"category": "Error",
"code": 1354
},
"A 'const' assertion can only be applied to a string, number, boolean, array, or object literal.": {
"A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals.": {
"category": "Error",
"code": 1355
},