Commit Graph
15 Commits
Author SHA1 Message Date
Caitlin Potter 02d356800f Share SourceFile with other grammar checker that needs it 2015-03-14 20:12:10 -04:00
Caitlin Potter 10925c1e9b Make sure arrow function grammar rules can deal with type annotations 2015-03-14 19:51:42 -04:00
Caitlin Potter 3dc5faf707 Restore earlier behaviour when parsing non-simple arrow function bodies 2015-03-14 19:51:42 -04:00
Caitlin Potter bd828e3024 Parse arrow function body as identifier if missing => or {
Restores functionality broken in previous commit
2015-03-14 19:51:42 -04:00
Caitlin Potter 5e107e6042 Address slew of review comments 2015-03-14 19:51:41 -04:00
Caitlin Potter fdc673f5eb Fix line wrapping 2015-03-14 19:51:41 -04:00
Caitlin Potter aa3cefb63d Check that arrow is on same line as parameters 2015-03-14 19:51:41 -04:00
Caitlin Potter 231f522d89 Add additional test-cases for arrow function grammar
As suggested by @DanielRosenwasser
2015-03-14 19:50:55 -04:00
Caitlin Potter dd16fed21e Perform error reporting in checker 2015-03-14 19:50:55 -04:00
Caitlin Potter 84634ac25d Disallow line terminator after arrow function parameters, before =>
Closes #2282
2015-03-14 19:50:24 -04:00
Caitlin Potter 0d06729b18 Move comment and refer to tuple type literal syntax rather than TupleType interface 2015-03-10 15:58:39 -04:00
Caitlin Potter 7acb410251 Add note about use of isTupleType() 2015-03-10 13:37:25 -04:00
Caitlin Potter bd2c239161 Add tests for tuple type compatibility
Tests suggested by @DanielRosenwasser
2015-03-10 13:33:59 -04:00
Caitlin Potter c222b2bb3e Improve message for array destructuring error
Closes #2090
2015-03-10 13:33:58 -04:00
Caitlin Potter 564dd2eb4a Document procedure for digital CLA signature in CONTRIBUTING.md
Closes #2237
2015-03-06 18:07:02 -05:00