add traceur test suite
This commit is contained in:
8
test/fixtures/traceur/PropertyMethodAssignment/Error_Disabled.js
vendored
Normal file
8
test/fixtures/traceur/PropertyMethodAssignment/Error_Disabled.js
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
// Options: --property-methods=false
|
||||
// Error: :5:9: Unexpected token (
|
||||
|
||||
var object = {
|
||||
method() {
|
||||
return 42;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user