Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kaicataldo committed Feb 5, 2019
1 parent b7f65a3 commit 9249e11
Show file tree
Hide file tree
Showing 55 changed files with 92 additions and 83 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"license": "BSD-2-Clause",
"dependencies": {
"acorn": "^6.0.2",
"acorn": "^6.0.7",
"acorn-jsx": "^5.0.0",
"eslint-visitor-keys": "^1.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
const foo = "foo";
export {foo as default};
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
const foo = "foo";
export {foo as bar};
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
const foo = "foo",
bar = "bar";
export {foo as default, bar};
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
const foo = "foo";
export {foo};
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
const foo = "foo",
bar = "bar";
export {foo, bar,};
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
const foo = "foo",
bar = "bar";
export {foo, bar};
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 11,
"lineNumber": 1,
"column": 12,
"message": "Can not use keyword 'await' outside an async function"
"message": "Cannot use keyword 'await' outside an async function"
};
2 changes: 1 addition & 1 deletion tests/fixtures/ecma-version/8/modules/async-func.result.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 8,
"index": 7,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 18,
"index": 17,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 32,
"index": 31,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 19,
"lineNumber": 1,
"column": 20,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 32,
"index": 31,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 27,
"lineNumber": 1,
"column": 28,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 19,
"lineNumber": 1,
"column": 20,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 20,
"lineNumber": 1,
"column": 21,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 25,
"index": 24,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 8,
"index": 7,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 7,
"index": 6,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 8,
"lineNumber": 1,
"column": 9,
"message": "Can not use keyword 'await' outside an async function"
"message": "Cannot use keyword 'await' outside an async function"
};
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 16,
"lineNumber": 1,
"column": 17,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 33,
"index": 32,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 32,
"index": 31,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 9,
"index": 8,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 12,
"index": 11,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 20,
"lineNumber": 1,
"column": 21,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 19,
"lineNumber": 1,
"column": 20,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 1,
"index": 0,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ module.exports = {
"index": 41,
"lineNumber": 2,
"column": 18,
"message": "Can not use 'await' as identifier inside an async function"
}
"message": "Cannot use 'await' as identifier inside an async function"
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 1,
"index": 0,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
"message": "Can not use keyword 'await' outside an async function",
"message": "Cannot use keyword 'await' outside an async function",
"column": 1,
"index": 0,
"lineNumber": 1
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 32,
"index": 31,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 20,
"index": 19,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 32,
"index": 31,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 28,
"index": 27,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 20,
"index": 19,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 21,
"index": 20,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 25,
"index": 24,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 8,
"index": 7,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 7,
"index": 6,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 9,
"index": 8,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 17,
"index": 16,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 33,
"index": 32,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 32,
"index": 31,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 9,
"index": 8,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 12,
"index": 11,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 21,
"index": 20,
"lineNumber": 1
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
"message": "Can not use 'await' as identifier inside an async function",
"message": "Cannot use 'await' as identifier inside an async function",
"column": 20,
"index": 19,
"lineNumber": 1
}
}
Loading

0 comments on commit 9249e11

Please sign in to comment.