1
1
mirror of https://github.com/github/semantic.git synced 2024-12-28 09:21:35 +03:00
Commit Graph

852 Commits

Author SHA1 Message Date
Timothy Clem
7edad0f9ec Go assigns into DefaultPattern now 2020-01-14 14:04:50 -08:00
Timothy Clem
1d48bc326b No diff here 2020-01-14 14:04:37 -08:00
Timothy Clem
2bf8c5b965 Merge branch 'precise-tag-benchmarks' into precise-alacarte-matching 2020-01-14 13:52:35 -08:00
Timothy Clem
0c118995af StringContent changed in JSON 2020-01-14 13:28:24 -08:00
Timothy Clem
17dd99aeac Assignment updates 2020-01-13 15:19:00 -08:00
Timothy Clem
250ede0eec Corpus test updates from changing assignment 2019-12-20 10:47:42 -08:00
Timothy Clem
bc9bcaa3ca Fixture changes due to new assignment of block arguments 2019-12-18 08:33:44 -08:00
Timothy Clem
84833e22f6 Re-generate where appropriate for AugmentedAssignment 2019-12-17 16:15:41 -08:00
Timothy Clem
3562ba7e8a Don't use AugmentedAssignment in these tests 2019-12-17 16:15:25 -08:00
Timothy Clem
4bcbdb945c Merge branch 'bump-haskell-tree-sitter' into test-precise-parsing 2019-12-10 12:56:36 -08:00
Timothy Clem
002816cd49 Structure of heredocs changed 2019-12-10 12:52:44 -08:00
Timothy Clem
ef7c8016ea Few more fixtures moving around 2019-12-09 12:47:26 -08:00
Timothy Clem
6f2679b145 Introduce AugmentedAssignment 2019-12-09 12:47:10 -08:00
Rob Rix
8936bede79
Update the JSON ASTs. 2019-10-08 17:35:06 -04:00
Rob Rix
c02f56da1a
🔥 the JSON diffs. 2019-10-08 17:34:56 -04:00
Patrick Thomson
7b13638ae3 Add a test for tagging files containing multibyte characters. 2019-09-30 13:18:39 -04:00
Patrick Thomson
bebf5124bc Regenerate test cases 2019-09-17 16:05:01 -04:00
Patrick Thomson
c623d2906b Assignment error in Java try/catch blocks (#235)
As @tclem pointed out, the TryStatement token was being consumed too
early. We also ran into errors within the `catches` clause where we
required a block but were asking for an expression.
2019-09-06 12:23:55 -04:00
Max Brunsfeld
5491001cf7 Regenerate jsx corpus files 2019-08-21 10:49:27 -07:00
Max Brunsfeld
07ccbb8966 Handle JSX elements with type arguments
Also, add a unit test for JSX in JavaScript.

Co-Authored-By: Rick Winfrey <rewinfrey@github.com>
2019-08-21 10:31:32 -07:00
Patrick Thomson
086947ade5 Add golden tests for parse --proto-symbols output.
This should help us ensure that we don't break CLI output, since our
CLI is an API.

This was made super-easy thanks to `tasty-golden`. I literally added
those two lines of code and it automatically created the reference
`.protobuf.bin` files. Slick as hell.
2019-06-20 01:33:51 -04:00
Patrick Thomson
d50c08152b forgot one last .json file 2019-06-12 16:45:33 -04:00
Patrick Thomson
a4652120a7 Fix test cases for builders (which don't have jd). 2019-06-12 16:40:28 -04:00
Patrick Thomson
6a24b9c793 Fix whitespace changes in hash fixture. 2019-06-12 11:34:54 -04:00
joshvera
237c4d6b3f Move jsx tests to tsx directory 2019-06-06 18:44:15 -04:00
Rob Rix
42708c333c
Fixtures, fixed. 2019-06-05 16:45:15 -04:00
Douglas Creager
cf803555e5 Make error reporter API generic
Instead of hard-coding the HTTP API we use for uploading errors to our
internal service, let the user provide an arbitrary function (in the IO
monad) for uploading them.  The default config will create an error
reporter that logs errors to the console, just like happened before if
you didn't set the `HAYSTACK_URL` environment variable.
2019-05-31 08:58:34 -04:00
Timothy Clem
7865ba7464 Couple of extra tests to show picking out calls 2019-03-18 12:24:10 -07:00
Timothy Clem
1a4d489b1d Fix up tests, new CLI output 2019-03-11 15:32:15 -07:00
Josh Vera
8c654caacc Merge branch 'indexer-prototype' into merge-indexer-prototype 2019-02-22 17:33:53 -05:00
joshvera
88c172c984 update tests 2019-02-20 15:45:52 -05:00
Timothy Clem
ec9113cc91 docs is part of this response now too 2019-02-19 12:49:30 -08:00
Timothy Clem
0d3a2856c8 Fix up test due to breaking API change 2019-02-15 13:34:05 -08:00
joshvera
016f6ea0ed Regenerate tests and eval variable declarations 2019-02-11 17:43:19 -05:00
joshvera
c9724d2720 Merge 'origin/master' into deploy-to-moda 2019-02-11 14:27:22 -05:00
Rick Winfrey
f8645c43b5 Add test case 2019-02-08 17:41:16 -08:00
Timothy Clem
f14412fe8f Merge remote-tracking branch 'origin/master' into servant-experiment 2019-01-31 12:57:59 -08:00
Rick Winfrey
7789ea6d32 Regen fixtures 2019-01-30 16:05:54 -08:00
Rick Winfrey
9e050954de Update diff-tree.json 2019-01-30 16:05:19 -08:00
Rick Winfrey
4becc96bf2 Update fixtures
Co-Authored-By: Rob Rix <robrix@github.com>
2019-01-28 11:43:41 -08:00
Rick Winfrey
736ead4ade Update fixtures 2019-01-18 18:21:36 -08:00
Rick Winfrey
c99dfc6d0f Clean up old fixture 2019-01-18 14:09:00 -08:00
Rick Winfrey
0639353cd1 Add private method fixture 2019-01-17 17:51:27 -08:00
Rick Winfrey
9c887e7eee Ensure private static field definitions are not accessible by external member access 2019-01-17 17:21:16 -08:00
Rick Winfrey
a5fcc3f1df Ensure private field definitions throw when accessed via external syntax 2019-01-17 17:17:53 -08:00
Timothy Clem
d8ef1c1f40 Fix up tests 2019-01-17 15:36:56 -08:00
Rick Winfrey
2a4cc4eab2 Update example 2019-01-14 15:21:25 -08:00
Rick Winfrey
e58c21e457 Add failing accessibility test case 2018-12-14 17:06:29 -08:00
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