1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00
Commit Graph

2399 Commits

Author SHA1 Message Date
Rob Rix
3adcd9d747 Correct a fixture. 2017-09-10 17:16:08 +01:00
Rob Rix
02e10446e1 Correct a test. 2017-09-10 17:14:51 +01:00
Rob Rix
6f6ebc7aa6 Correct a fixture. 2017-09-10 15:29:09 +01:00
Rob Rix
27db18bfde Correct the language fixtures. 2017-09-09 23:41:12 +01:00
Rob Rix
110be2449c Update the tests. 2017-09-09 21:44:15 +01:00
Rob Rix
41baef6c9d Listing diffs does not produce metavariables or bindings. 2017-09-09 18:24:05 +01:00
Rob Rix
825990cfce Constrain a type to Int. 2017-09-09 14:59:33 +01:00
Rob Rix
9c97ea7c48 More 🔥 2017-09-09 14:59:03 +01:00
Rob Rix
2a7a937a7e 🔥 a bunch more redundant imports. 2017-09-09 14:58:07 +01:00
Rob Rix
10b262e069 🔥 a stray import. 2017-09-09 14:54:49 +01:00
Rob Rix
24914eeb05 Move the remaining Listable instances into the tests. 2017-09-09 14:51:37 +01:00
Rob Rix
3ad5374b94 Move all the Listable stuff into the tests. 2017-09-09 14:44:57 +01:00
Rob Rix
eb01f7450a Correct the diffSize helper. 2017-09-09 14:30:42 +01:00
Rob Rix
7258682862 Fix one of the ToC tests. 2017-09-09 14:28:43 +01:00
Rob Rix
a1bfea611f Update all the tests. 2017-09-09 14:18:08 +01:00
Rob Rix
e2ffba2401 Rename headF to termAnnotation. 2017-09-09 11:50:29 +01:00
Rob Rix
9e40e9a09a Give our own definition of Diff. 2017-09-09 11:23:57 +01:00
Rob Rix
07bef3f75e 🔥 deepseq. 2017-09-08 17:35:55 +01:00
Rob Rix
185818d8bd Rename runCofree to unTerm. 2017-09-08 16:46:35 +01:00
Timothy Clem
172ae54593 Merge remote-tracking branch 'origin/explicit-choice' into ruby-assignment-ftw 2017-09-08 11:37:16 +01:00
Timothy Clem
22c0352205 infixContext doesn't work with comment in expression
Poor comments
2017-09-01 11:32:32 -07:00
Rob Rix
1468743832 Revert "Match comments with expression."
This reverts commit b7bc1d7ced4ecea66022292a0c340e3aed22af5d.
2017-09-01 14:29:49 -04:00
Timothy Clem
176012b1d2 Fix up parse error handling 2017-09-01 11:21:00 -07:00
Timothy Clem
a1652c1ffc Merge remote-tracking branch 'origin/explicit-choice' into ruby-assignment-ftw 2017-09-01 11:15:01 -07:00
Timothy Clem
8047a756da Comments don't create context in hashes now 2017-09-01 10:27:19 -07:00
Rob Rix
12d7a0d57f Match comments with expression. 2017-09-01 13:05:58 -04:00
Timothy Clem
2a11e6136e Comments are in expression now 2017-09-01 10:00:55 -07:00
Timothy Clem
e2e2d2f933 Merge remote-tracking branch 'origin/explicit-choice' into ruby-assignment-ftw 2017-09-01 08:57:29 -07:00
Rob Rix
32b2f90316 🔥 a couple of obsolete tests. 2017-09-01 11:54:45 -04:00
Rob Rix
1270bb41c4 Correct the <|>/distributivity through children rules test. 2017-09-01 11:53:40 -04:00
Rob Rix
bad1c832f0 Correct precedence. 2017-09-01 11:51:18 -04:00
Rob Rix
5366bfff3c 🔥 obsolete tests of catchError/repetitions. 2017-09-01 11:50:48 -04:00
Rob Rix
c2f30feff2 Test that exhaustiveness errors are uncaught. 2017-09-01 11:50:10 -04:00
Rob Rix
2110d7d076 Slight improvement to the unexpected end of branch test. 2017-09-01 11:49:46 -04:00
Rob Rix
a640b48ddc Test that unexpected end of branch errors are uncaught. 2017-09-01 11:47:38 -04:00
Rob Rix
7fc97f6b9d Rename a test. 2017-09-01 11:33:33 -04:00
Rob Rix
6afe2b5ae9 Test that handlers can error. 2017-09-01 11:32:57 -04:00
Rob Rix
eb65bd9622 Test the inverse case. 2017-09-01 11:28:59 -04:00
Rob Rix
99b4d5037a 🔥 unnecessary parens. 2017-09-01 11:28:41 -04:00
Rob Rix
70cfa6e070 Rename & correct a catchError test. 2017-09-01 11:26:46 -04:00
Rob Rix
de318561dd Correct a test’s expectation. 2017-09-01 11:25:30 -04:00
Timothy Clem
4bab0fd1e0 Assert anon function toc summary behavior 2017-08-28 18:06:09 -07:00
Timothy Clem
15128e4c1b Ruby lambdas assign to function with empty syntax for name 2017-08-28 17:50:27 -07:00
Timothy Clem
29834cd3de Merge remote-tracking branch 'origin/master' into ruby-assignment-ftw 2017-08-28 16:05:17 -07:00
Timothy Clem
d7e149c468 Expand equivalentTerms to include functions as well 2017-08-28 15:59:30 -07:00
Timothy Clem
ed5f9eb7e8 Return shortened errors in toc summary JSON response 2017-08-25 13:07:51 -07:00
Timothy Clem
97bd03543a Introduce a dedicated term equivalency check for ses 2017-08-25 12:39:43 -07:00
Timothy Clem
fd7cbe8393 Manually add Method to all syntax unions 2017-08-25 08:06:38 -07:00
Rick Winfrey
8f9b96dc3d Update Python integratin specs
In tree-sitter-python, `(a)` is not a tuple of identifier, it is an expression that evaluates to the value of `a`.
2017-08-24 16:35:15 -07:00
Timothy Clem
db6099e910 Fix boolean operators 2017-08-24 15:00:07 -07:00
Timothy Clem
762d3341ab Fix comments 2017-08-24 14:59:44 -07:00
Timothy Clem
6ed530c530 Fix method declarations 2017-08-24 14:59:17 -07:00
Timothy Clem
2905201e19 Fix break 2017-08-24 14:56:52 -07:00
Timothy Clem
6db2c2774c Fix bitwise ops 2017-08-24 14:55:39 -07:00
Timothy Clem
8f86de85b4 Fix heredocs 2017-08-24 14:54:12 -07:00
Timothy Clem
623f80f24c Fix comparison operators 2017-08-24 14:53:56 -07:00
Timothy Clem
a4e03b6189 Fix delimiters 2017-08-24 14:53:26 -07:00
Timothy Clem
30c64cee6f Fix conditional assignment 2017-08-24 14:53:08 -07:00
Timothy Clem
3ef093d851 Fix element reference 2017-08-24 14:52:38 -07:00
Timothy Clem
5abb457ecd Fix begin/end blocks (scope entry/exit) 2017-08-24 14:52:11 -07:00
Timothy Clem
7ff488b91c Fix ensure 2017-08-24 14:51:30 -07:00
Timothy Clem
dc6ef33273 Fix and/or 2017-08-24 14:51:08 -07:00
Timothy Clem
e25bdcda82 Fix array 2017-08-24 14:50:51 -07:00
Timothy Clem
a171408cc2 Fix begin/else 2017-08-24 14:50:17 -07:00
Timothy Clem
3febd7db04 Fix for 2017-08-24 14:49:30 -07:00
Timothy Clem
81f438d478 Fix hash 2017-08-24 14:48:55 -07:00
Timothy Clem
0bbeefb8b2 Fix lambdas 2017-08-24 14:48:29 -07:00
Timothy Clem
fef4fb1c41 Fix math assignment 2017-08-24 14:47:41 -07:00
Timothy Clem
228c55ab9e Fix calls 2017-08-24 14:46:53 -07:00
Timothy Clem
553fa55297 Fix class and module 2017-08-24 14:45:23 -07:00
Timothy Clem
1c6031def5 Fix up assignments 2017-08-24 14:44:19 -07:00
Timothy Clem
3e34c10953 Fix pseudo variables 2017-08-24 14:43:31 -07:00
Timothy Clem
7f41aee5e9 Add Regex to syntax, fix ruby regex fixtures 2017-08-24 14:43:13 -07:00
Timothy Clem
a1576d68d2 Fix relational operators 2017-08-24 13:36:53 -07:00
Timothy Clem
508531c92f Fix various forms of rescue 2017-08-24 13:34:25 -07:00
Timothy Clem
4e7f37fe8d Add otherside of break 2017-08-24 13:33:20 -07:00
Timothy Clem
0701df346c Fix elsif 2017-08-24 13:31:37 -07:00
Timothy Clem
554194d44d Fix return 2017-08-24 13:31:09 -07:00
Timothy Clem
74fe887fb0 Fix up if 2017-08-24 13:30:07 -07:00
Timothy Clem
85a33c9612 Some literals: numbers, strings, symbols 2017-08-24 13:29:46 -07:00
Timothy Clem
e5d2360fc9 when 2017-08-24 13:27:12 -07:00
Timothy Clem
435b3bfe51 if, unless, ternary 2017-08-24 13:26:17 -07:00
Timothy Clem
bac05bc538 Updated structure for until, while, yield 2017-08-24 13:23:41 -07:00
Timothy Clem
7150dbc792 🔥 these un-needed fixtures that duplicate parse expectations 2017-08-24 13:14:52 -07:00
Timothy Clem
86f65b39ff 🔥 these un-needed fixtures that duplicate parse expectations 2017-08-24 12:59:08 -07:00
Timothy Clem
28aa9405e1 Fix up some expected output for new shape of Method 2017-08-24 11:46:26 -07:00
Rob Rix
19d1fff2eb Merge branch 'master' into assignment-optimization 2017-08-21 12:43:03 -04:00
Rob Rix
773644d040 We limit the call stacks now. 2017-08-18 10:41:14 -04:00
Rob Rix
9e2abcaa13 🔥 a redundant import. 2017-08-17 17:57:06 -04:00
Rob Rix
7b4fcec381 Fix the tests up. 2017-08-17 17:56:01 -04:00
Timothy Clem
52d956894b Update hash fixtures 2017-08-16 14:28:10 -07:00
Timothy Clem
680ad37eea Fix up chained strings, allow comments 2017-08-16 14:14:33 -07:00
Rob Rix
66abd4e327 Merge branch 'master' into systematic-comment-assignment 2017-08-16 13:23:40 -04:00
Timothy Clem
ebca8e49ce Lambdas get an update 2017-08-16 10:13:48 -07:00
Rob Rix
d0337eabca Test that eof matches before anonymous nodes at the end of branches.
Currently failed.
2017-08-16 07:41:17 -07:00
Rob Rix
6a4d838f16 Test that eof matches at the end of branches. 2017-08-16 07:41:17 -07:00
Rob Rix
dd7f601149 Merge branch 'eof-drops-anonymous-nodes' into systematic-comment-assignment 2017-08-16 09:06:03 -04:00
Rob Rix
3c7f471607 Test that eof matches before anonymous nodes at the end of branches.
Currently failed.
2017-08-16 08:55:26 -04:00
Rob Rix
8265390933 Test that eof matches at the end of branches. 2017-08-16 08:52:29 -04:00
Timothy Clem
ce9b380975 Updated when fixtures 2017-08-15 14:22:30 -07:00