Accept keyword names as concise method names

This commit is contained in:
Fábio Santos
2015-10-26 23:24:04 +00:00
committed by Richard van Velzen
parent c99eaae360
commit 64e7a00399
2 changed files with 13 additions and 1 deletions

View File

@@ -169,6 +169,18 @@ concise_methods_and_mangle_props: {
}
}
concise_methods_and_keyword_names: {
input: {
x = {
catch() {},
throw() {}
}
}
expect: {
x={catch(){},throw(){}};
}
}
number_literals: {
input: {
0b1001;