1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

145 Commits

Author SHA1 Message Date
joshvera
dab7c6d86a Revert changes to class1.ts 2018-12-13 19:05:11 -05:00
joshvera
4afe93a97d Rename __semantic_self to __self 2018-12-13 18:14:13 -05:00
joshvera
a69991309c Revert generic changes to class2.ts
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-12-13 13:14:56 -05:00
joshvera
09c3cce304 WIP 2018-12-12 17:13:52 -05:00
joshvera
75ac094409 Update Greeter example to Adder 2018-12-10 16:21:42 -05:00
joshvera
080ac13872 Regen unit tests 2018-12-10 12:15:54 -05:00
joshvera
3bff825368 Add test files for new expressions 2018-12-07 16:55:38 -05:00
joshvera
52c685d30f Implement default export instance 2018-12-05 15:45:20 -05:00
joshvera
eae6b7c8b3 Add tests for QualifedExportFrom 2018-12-05 15:07:37 -05:00
joshvera
17c4bf350c Add lookupObjectMembers function to tests 2018-11-29 19:37:20 -05:00
joshvera
b08d426f9c Add lets to test typescript files 2018-11-16 18:57:26 -05:00
joshvera
ea7a576c31 fix imports with aliased symbols test 2018-11-15 19:45:24 -05:00
Rick Winfrey
66d3044951 Merge branch 'master' into heap-frames 2018-11-15 13:44:06 -08:00
joshvera
5c4dde8d54 fix up test fixtures
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-15 13:24:46 -05:00
joshvera
8a4aa24889 Add a function call example
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-14 19:18:52 -05:00
joshvera
fb5e4400a1 modify test files
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-13 14:09:20 -05:00
joshvera
4fed5eb1e7 export baz in a.ts 2018-11-13 12:06:05 -05:00
joshvera
f9c6590f61 Remove baz export
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-09 13:05:48 -05:00
joshvera
4c02f11edc add main3.ts
Co-Authored-By: Rick Winfrey <rick.winfrey@gmail.com>
2018-11-09 13:05:26 -05:00
Timothy Clem
bdb7ee0430 More tests 2018-11-05 13:09:37 -08:00
Timothy Clem
883d4586c0 TypeScript fixes for more type identifiers 2018-09-17 09:48:47 -07:00
Ayman Nadeem
4be365ddcb add test 2018-08-23 11:25:20 -04:00
Ayman Nadeem
5891fe8510 add tests for lshift, rshift, unsignedRshift 2018-08-17 13:26:34 -04:00
Ayman Nadeem
a5c7010f85 add test file for bxor 2018-08-17 13:24:40 -04:00
Ayman Nadeem
c76948c76a add test for bitwise and 2018-08-17 13:23:53 -04:00
Ayman Nadeem
18694f8143 add test for bitwise OR 2018-08-17 13:22:48 -04:00
Ayman Nadeem
0e8bb70dfd Merge remote-tracking branch 'origin/master' into evaluatable-instances 2018-08-16 14:46:59 -04:00
Ayman Nadeem
bb71c4543d add evaluatable instance for await 2018-08-13 15:18:54 -04:00
Rick Winfrey
62fb9635e0 Merge branch 'master' into update-haskell-tree-sitter 2018-08-13 11:36:10 -07:00
Rick Winfrey
062fa896a4 Update test fixtures 2018-08-09 18:41:58 -07:00
Ayman Nadeem
a3c36b89ef add evaluatable instance and test for delete
Co-Authored-By: Josh Vera <vera@github.com>
2018-08-09 17:55:59 -04:00
Ayman Nadeem
75aa8f7662 add tests for void 2018-08-09 16:41:29 -04:00
Ayman Nadeem
7ee4bad173 add sequence expression to test spec
Co-Authored-By: Josh Vera <vera@github.com>
2018-08-09 16:08:20 -04:00
Charlie Somerville
6c7df4e5bc remove TypeScript specific This syntax type 2018-08-02 16:00:21 +10:00
Ayman Nadeem
ea86992721 regenerate interface tests 2018-07-23 15:04:07 -04:00
Ayman Nadeem
6713fdde39 re-generate ambient-declarations and interface typescript tests 2018-07-23 14:22:21 -04:00
joshvera
3a32256b38 Fix imports tests 2018-07-03 11:57:42 -04:00
joshvera
d3c912784b Fix tests 2018-06-22 14:19:01 -04:00
Rob Rix
83ee082259 Regenerate all of the affected fixtures. 2018-06-06 10:35:47 -04:00
Patrick Thomson
dd4a939f21 merge fallout 2018-06-04 12:18:02 -04:00
Patrick Thomson
7c9b1ec17e Merge remote-tracking branch 'origin/master' into text-names 2018-06-04 11:46:54 -04:00
Timothy Clem
359031d777 s/Program/Statements in all of the tests 2018-06-01 11:44:03 -07:00
Timothy Clem
d05225fe61 Test fixes 2018-05-31 08:44:44 -07:00
Patrick Thomson
d144087486 Merge remote-tracking branch 'origin/master' into text-names 2018-05-30 23:51:11 -04:00
Patrick Thomson
7ba832d566 Fix tests. 2018-05-30 18:29:54 -04:00
Timothy Clem
2d08451d87 Call [] Statements 2018-05-29 14:25:31 -07:00
Patrick Thomson
eaa54a3230 Add strict-equality function.
TypeScript, JavaScript, and PHP support an === operator, which
corresponds to strict equality (usually the equality you want). I've
added a constructor to Comparison that takes care of this. Actually
implementing non-strict equality for the above languages will have to
wait until we can build behavior a la carte.

I chose not to add Ruby's case-equality operator, though it uses ===,
since the behavior is so different. (For example, a === a is not
always true over Ruby's ===).
2018-05-23 11:28:31 -04:00
Rob Rix
101798fd39 Update a bunch of fixtures. 2018-05-16 16:38:40 -04:00
Patrick Thomson
6f63463269 Remove explicit Paren node from syntax trees.
As @robrix pointed out, adding explicit parenthesis nodes to our ASTs
bloats them with no added gain in expressivity. A pretty-printing
solution should use something analogous to `showsPrec` to ensure that
parentheses are printed properly.
2018-04-23 11:00:10 -04:00
Charlie Somerville
0d9cb46d07 add test cases for early return 2018-04-20 14:47:52 +10:00