1
1
mirror of https://github.com/github/semantic.git synced 2025-01-04 13:34:31 +03:00
Commit Graph

8637 Commits

Author SHA1 Message Date
Rob Rix
f1c1d85ec8 Don’t evaluate the sourceSpan strictly, i.e. only compute it when there are actually errors (but then use it eagerly). 2016-08-15 17:40:07 -04:00
Rob Rix
a1aa65c15f Use the errorWith combinator to construct errors. 2016-08-15 17:39:47 -04:00
Rob Rix
2281b68b91 Extract a function to construct an error node with strict evaluation of the sourceSpan. 2016-08-15 17:37:22 -04:00
Rob Rix
eb99b40a15 Don’t inline toTerm after all.
It’s recursive and we want to see how its performance breaks down a
little better.
2016-08-15 17:28:17 -04:00
joshvera
5893c2d2ae Merge remote-tracking branch 'origin/master' into comma-summaries 2016-08-15 17:27:08 -04:00
Josh Vera
5934fbc2de Merge branch 'master' into remove-untitled 2016-08-15 17:26:06 -04:00
Rob Rix
d4022e0c43 Define getChild using >>. 2016-08-15 17:25:56 -04:00
Josh Vera
dee0537d5a Merge pull request #716 from github/how-many-cores-could-the-mongols-hoard-if-the-mongol-hordes-got-bored
Disqualify builds which only run on one core.
2016-08-15 17:25:48 -04:00
Rick Winfrey
a625cf07ee Remove scratchwork file 2016-08-15 16:21:48 -05:00
Rob Rix
3a87e5501d Evaluate sourceSpan eagerly too. 2016-08-15 17:17:03 -04:00
Rob Rix
8837f48d3d Bind range instead of assigning it. 2016-08-15 17:12:15 -04:00
Josh Vera
12b67bbd0c Merge branch 'master' into how-many-cores-could-the-mongols-hoard-if-the-mongol-hordes-got-bored 2016-08-15 17:09:29 -04:00
Rob Rix
47ece4f73b Merge branch 'master' into µ-to-you-too 2016-08-15 17:06:40 -04:00
Josh Vera
0593503207 Merge pull request #715 from github/add-javascript-syntaxes
Add test cases for remaining Javascript syntaxes
2016-08-15 17:05:23 -04:00
Rob Rix
5adb799b48 INLINE a bunch of stuff in documentToTerm. 2016-08-15 17:04:45 -04:00
Rob Rix
042b3b9c29 Bind sourceSpan instead of assigning it. 2016-08-15 17:04:38 -04:00
Rick Winfrey
a4aabd500c Merge branch 'master' into add-javascript-syntaxes 2016-08-15 15:31:32 -05:00
Rick Winfrey
44a375f1f9 Update expectedResults for JavaScript test cases per switch to RWS! 2016-08-15 15:30:37 -05:00
Rob Rix
d57ac9fb6b Merge branch 'master' into how-many-cores-could-the-mongols-hoard-if-the-mongol-hordes-got-bored 2016-08-15 16:23:14 -04:00
Rob Rix
ef5c627016 Merge pull request #713 from github/limit-assumptions-about-class-and-method-structure
Limit assumptions about class and method structure
2016-08-15 15:42:48 -04:00
Rick Winfrey
93521de3ec Merge branch 'master' into add-javascript-syntaxes 2016-08-15 14:42:15 -05:00
joshvera
4000e3d9af Merge remote-tracking branch 'origin/master' into comma-summaries 2016-08-15 15:23:20 -04:00
Josh Vera
4e8ff60da7 Merge branch 'master' into limit-assumptions-about-class-and-method-structure 2016-08-15 15:22:29 -04:00
Josh Vera
b06cb4695e Merge pull request #689 from github/unbiased-branch-diffs
Unbiased branch diffs
2016-08-15 15:21:06 -04:00
Rob Rix
07d91fb70a Merge branch 'master' into limit-assumptions-about-class-and-method-structure 2016-08-15 15:07:44 -04:00
Rob Rix
890b30df11 🔥 methodDefinitions. 2016-08-15 15:07:40 -04:00
Rob Rix
40fe66ac5e Subclasses include the method definitions directly. 2016-08-15 13:59:48 -04:00
Rob Rix
fab77e2c1a Classes include the method definitions directly. 2016-08-15 13:59:17 -04:00
Rob Rix
913532a762 🔥 expressionStatements. 2016-08-15 13:58:34 -04:00
Rob Rix
6792cfe1f9 Zero-argument methods include the expressions directly. 2016-08-15 13:58:23 -04:00
Rob Rix
eb1ad9fbbf Methods include the expressions directly. 2016-08-15 13:58:06 -04:00
Rob Rix
32b86879b2 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 13:09:48 -04:00
Rob Rix
dbd812d488 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 12:09:45 -04:00
Rob Rix
479501720f Merge pull request #706 from github/2016-08-15
Create 2016-08-15.md
2016-08-15 11:29:25 -04:00
Rob Rix
92ddc61385 Create 2016-08-15.md 2016-08-15 11:27:23 -04:00
Rob Rix
e65bda6107 📝 stripTerm & stripDiff. 2016-08-15 09:39:20 -04:00
Rob Rix
1e0c908423 Merge branch 'master' into unbiased-branch-diffs 2016-08-15 09:38:47 -04:00
Josh Vera
4f91f878dd Merge pull request #692 from github/unbiased-branch-diff-tests-that-actually-test-branch-diff-bias
Unbiased branch diff tests that actually test branch diff bias
2016-08-12 16:36:29 -04:00
Rob Rix
08835f5a36 Merge branch 'master' into unbiased-branch-diff-tests-that-actually-test-branch-diff-bias 2016-08-12 13:52:03 -04:00
Rob Rix
9dcbe04297 Move the multiple hunks fixture to the todo list.
See also #682.
2016-08-12 13:43:00 -04:00
Rick Winfrey
d226eacdfc Add missing arbitrary instances for Category constructors 2016-08-12 12:42:22 -05:00
Rob Rix
6542c7182e Revert "Revert "Diff branches by similarity.""
This reverts commit 32439e62459ac2736944462fb81afbb9635c9246.
2016-08-12 13:41:43 -04:00
Rob Rix
e820b43469 🔥 a redundant import. 2016-08-12 13:40:41 -04:00
Rob Rix
e3b98b3da1 Merge branch 'master' into unbiased-branch-diffs 2016-08-12 13:31:26 -04:00
Rob Rix
2ac77b0afa Merge pull request #688 from github/if-syntax
Add If constructor to Syntax
2016-08-12 13:25:29 -04:00
Rob Rix
b91b305f32 Re-enable the RWS insertion bias tests. 2016-08-12 13:22:55 -04:00
Rob Rix
443df7da7c Merge branch 'unbiased-branch-diff-tests-that-actually-test-branch-diff-bias' into unbiased-branch-diffs
# Conflicts:
#	src/Diffing.hs
#	test/CorpusSpec.hs
#	tools/semantic-git-diff/test/corpus/diff-summaries.json
2016-08-12 13:04:33 -04:00
Rob Rix
d9be26396c Make the RWS test pending on #683. 2016-08-12 12:58:37 -04:00
Rob Rix
17f3c74c20 Revert "Enable RWS for lists."
This reverts commit 0b6810484dca24ac0a659ab097aeaab52ba5f5ab.
2016-08-12 12:49:02 -04:00
Rob Rix
7997cdb55b Enable RWS for lists. 2016-08-12 12:44:15 -04:00