Rick Winfrey
a31a883b30
Auto formatting
2016-10-26 17:01:15 -05:00
Timothy Clem
5dd53c0b93
if/unless modifiers and (sort of) unless statements
2016-10-26 14:49:51 -07:00
Timothy Clem
3bbfb765a5
Parse if, with some caveats
2016-10-26 14:32:08 -07:00
Timothy Clem
013f6392ff
Parse while and until statements and modifiers
2016-10-26 12:54:21 -07:00
Timothy Clem
986a3572d4
Merge remote-tracking branch 'origin/master' into ruby
2016-10-26 10:30:29 -07:00
Timothy Clem
1b6c70f4ee
Parse yield and return
2016-10-26 10:27:38 -07:00
Timothy Clem
eb52ca6f90
Handle method arguments, updated tree-sitter-ruby
2016-10-26 10:14:39 -07:00
Timothy Clem
1bc5ba394a
Classes, member invocation, case statements
2016-10-25 11:36:30 -07:00
Timothy Clem
649119c967
Method invocation
2016-10-24 12:23:10 -07:00
Timothy Clem
56c2dae42f
Bring in LOTS more of the ruby grammar
2016-10-24 10:43:31 -07:00
Timothy Clem
994b7a613e
Ruby math assignment (todo: broken)
2016-10-21 15:52:40 -07:00
Timothy Clem
b8463b6039
Ruby delimiters (sort of)
2016-10-21 14:41:04 -07:00
Timothy Clem
22c617e9e9
Ruby interpolation parsing
2016-10-21 13:55:00 -07:00
Timothy Clem
f5621a7ed0
Test parsing ruby numbers, strings, and symbols
2016-10-21 12:59:35 -07:00
Rick Winfrey
5be0a11707
Update Import tests
2016-10-20 17:27:30 -05:00
Timothy Clem
caeeb79799
Regenerate ruby test corpus to get valid shas
2016-10-20 10:36:33 -07:00
Timothy Clem
00cb51b083
Fix multiline comment followed by comment bug
2016-10-20 10:07:15 -07:00
Rick Winfrey
1a787335b8
Update tests
2016-10-19 18:10:28 -05:00
Timothy Clem
e4bb574700
Catch integer literals and abbreviate in summaries
2016-10-19 11:02:02 -07:00
Timothy Clem
fc25ff9e86
Add ruby corpus as submodule
2016-10-19 10:36:56 -07:00
Timothy Clem
456bbb41ae
Handle basic assignment for ruby
2016-10-19 10:34:49 -07:00
Timothy Clem
c213e85e9c
Allow running integration tests only for one language
...
The --test-arguments can be passed like this:
stack build :integration-test --test-arguments "--language=ruby"
--language is naively parsed right now just to avoid getting in the way
of hspec's option parsing.
2016-10-19 10:15:58 -07:00
Rick Winfrey
1f5c73143d
++import.json tests
2016-10-18 16:54:15 -05:00
Rick Winfrey
3b984eb470
++javascript
2016-10-18 10:34:49 -05:00
Rick Winfrey
99e070e107
Remove if-else generated file
2016-10-17 18:51:23 -05:00
Rick Winfrey
43e082c85f
Remove import generated file
2016-10-17 18:50:47 -05:00
Rick Winfrey
242654b05f
Update tests
2016-10-17 18:41:03 -05:00
Rick Winfrey
dfc11385d8
++tests
2016-10-14 13:40:07 -05:00
joshvera
1ec96efd63
bump tests
2016-10-14 12:19:31 -04:00
joshvera
3839a8605a
Bump tests
2016-10-14 12:12:38 -04:00
Rick Winfrey
0262cb0879
Merge branch 'master' into improve-anonymous-funs
2016-10-13 17:56:39 -05:00
joshvera
ca129b2449
bump tests
2016-10-13 18:02:14 -04:00
Rick Winfrey
383573aa3d
Merge branch 'master' into if-else-if
2016-10-13 17:01:23 -05:00
joshvera
4f978b7586
No quotes around anonymous functions
2016-10-13 17:58:17 -04:00
Rick Winfrey
80ebddae5c
Bump tests
2016-10-13 16:44:36 -05:00
joshvera
98627b74b7
Merge remote-tracking branch 'origin/master' into improve-anonymous-funs
2016-10-13 17:39:42 -04:00
Josh Vera
9f9dc4feab
Merge branch 'master' into improve-memory-usage
2016-10-13 16:21:11 -04:00
joshvera
b5ff4178e9
scope to getLabel
2016-10-13 16:16:50 -04:00
joshvera
be1ca766c1
Quote anonymous and brace exports
2016-10-13 12:56:27 -04:00
joshvera
73b947f71b
Update tests
2016-10-13 12:08:44 -04:00
joshvera
10b6852882
update tests
2016-10-12 19:44:27 -04:00
joshvera
c608d62a3a
Import from Diffing
2016-10-12 19:33:05 -04:00
joshvera
dfe8648a11
Fix tests
2016-10-12 19:19:36 -04:00
Timothy Clem
1859df9500
Test to no longer expect summaries for comments
2016-10-12 14:21:40 -07:00
Rick Winfrey
1234f5dbc3
++javascript tests
2016-10-12 14:59:58 -05:00
Rick Winfrey
d222090c37
Update if-else.json tests
2016-10-12 14:55:59 -05:00
joshvera
6ba48666ed
bump files
2016-10-11 16:18:26 -04:00
joshvera
440d168273
bump tests
2016-10-11 15:13:51 -04:00
joshvera
deb5a0f018
Fix SourceSpan in tests
2016-10-11 15:12:48 -04:00
joshvera
007a1580fe
Merge remote-tracking branch 'origin/master' into add-source-spans
2016-10-11 13:03:43 -04:00
joshvera
e57c80940e
bump tests
2016-10-11 12:52:26 -04:00
Rick Winfrey
329ce63a8e
++tests
2016-10-11 11:07:57 -05:00
joshvera
11d5cdcde7
Bump tests
2016-10-11 12:00:34 -04:00
joshvera
4fb07c28b6
Bump tests
2016-10-11 11:54:47 -04:00
joshvera
fbb6ddbff4
Bump tests
2016-10-11 11:26:57 -04:00
joshvera
a08cad66d0
++javascript
2016-10-11 11:13:44 -04:00
joshvera
399d01af97
update tests
2016-10-11 11:12:20 -04:00
joshvera
624918b113
remove files
2016-10-11 11:10:16 -04:00
joshvera
d95283f4a1
Merge remote-tracking branch 'origin/master' into add-source-spans
2016-10-11 10:45:22 -04:00
Rick Winfrey
1569611257
Update JSONtestcases shas
2016-10-10 12:39:22 -05:00
Rick Winfrey
d6f9104237
Update tests
2016-10-07 16:43:01 -05:00
Rick Winfrey
9a3fccc1e1
Update tests
2016-10-07 15:58:51 -05:00
joshvera
f7e0cb53dd
++javascript
2016-10-07 11:29:44 -04:00
joshvera
c0a8483263
Merge remote-tracking branch 'origin/master' into add-source-spans
2016-10-07 11:28:57 -04:00
Rick Winfrey
4453cd1ad9
Move javascript diff summary JSON test case files
2016-10-07 10:26:45 -05:00
Rick Winfrey
bbe8b00b34
++javascript
2016-10-07 10:21:14 -05:00
Rick Winfrey
3e23076ecc
Merge branch 'master' into import-export-syntax
2016-10-07 10:20:11 -05:00
Timothy Clem
da90b74044
New parsing of function params
2016-10-06 15:20:05 -07:00
joshvera
15cd4777e6
Add SourceSpans to customize ToJSON output for These SourceSpan SourceSpan
2016-10-06 17:55:54 -04:00
joshvera
39e3a01533
Fix up DiffSummarySpec ranges
2016-10-06 15:12:14 -04:00
Timothy Clem
3d7c8cf67d
Fix anonymous function parsing and summarizing
2016-10-06 12:05:10 -07:00
Timothy Clem
976b299071
Fix quoted strings
2016-10-06 11:42:21 -07:00
joshvera
f1a1c759b0
Fix some test errors
2016-10-06 14:20:58 -04:00
Timothy Clem
68b1cfac64
And the repo path is slightly different
2016-10-06 09:04:03 -07:00
Timothy Clem
02853cc422
Path still not quite right
2016-10-06 09:02:38 -07:00
Timothy Clem
47731b3faa
Bring back the right path here
2016-10-06 08:56:27 -07:00
Timothy Clem
068481b35b
Merge remote-tracking branch 'origin/master' into project-reorg
2016-10-06 08:45:04 -07:00
Timothy Clem
f004a5c3db
New path for test corpus
2016-10-05 17:16:59 -07:00
Timothy Clem
6cbfa91475
Try out moving project around
2016-10-05 16:17:46 -07:00
joshvera
b7df878c4b
Update specs
2016-10-05 17:41:00 -04:00
joshvera
4f41619c8e
Merge remote-tracking branch 'origin/master' into rws-large-diffs
2016-10-05 12:17:29 -04:00
joshvera
07b7b7598e
Rename prependSummary to appendSummary and update tests
2016-10-05 11:56:42 -04:00
joshvera
1f52815f9c
Merge 'origin/master' into rws-large-diffs
2016-10-03 19:02:36 -04:00
Rick Winfrey
cf64cf41d9
Update DiffSummarySpec
2016-10-03 16:39:29 -05:00
Timothy Clem
45a12c54f0
Fix testDiff in DiffSummarySpecs too
2016-09-30 14:15:02 -07:00
joshvera
bfe57829d6
Merge remote-tracking branch 'origin/master' into rws-large-diffs
2016-09-27 10:34:19 -04:00
Timothy Clem
b5c45f8c7c
New expected json output for dictionary
2016-09-20 10:31:50 -07:00
Timothy Clem
bf2c5966ba
Merge branch 'master' of https://github.com/github/semantic-diff into improve-number-summaries
2016-09-20 08:01:37 -07:00
Timothy Clem
7c390d9081
Merge branch 'master' of https://github.com/github/semantic-diff into improve-number-summaries
2016-09-19 15:27:00 -07:00
Timothy Clem
d632011a3c
Fix up tests
2016-09-19 15:23:07 -07:00
Rob Rix
8cec95aad4
Merge branch 'master' into pretty-print-expectations
...
# Conflicts:
# script/cibuild-semantic-diff
# script/cibuild-semantic-diff-linux
# test/RangeSpec.hs
# test/Spec.hs
2016-09-20 05:56:12 +09:00
Timothy Clem
edb69e2c69
Fix test, category printed as NumberLiteral now
2016-09-19 13:33:02 -07:00
Rob Rix
38d6bbe644
Merge branch 'master' into ghc8
2016-09-17 20:45:58 -04:00
joshvera
925fdfaeaf
remove &&& import
2016-09-16 11:52:31 -04:00
joshvera
0535744ebc
more imports
2016-09-16 11:48:58 -04:00
Rob Rix
e6372deeb6
🔥 a redundant constraint.
2016-09-15 18:38:18 -04:00
Rob Rix
8d465b96ab
Annotate the leaf type.
2016-09-15 18:34:54 -04:00
Rob Rix
97b7f27683
Give a type signature for decorate
.
...
This fixes a problem where ghc will loop forever trying to infer the
type.
2016-09-15 18:32:57 -04:00
Rob Rix
d0395cd227
🔥 some redundant parens.
2016-09-15 18:12:32 -04:00
Rob Rix
64d1d6b407
Monoid/Semigroup stuff.
2016-09-15 17:21:37 -04:00