1
1
mirror of https://github.com/github/semantic.git synced 2024-12-22 14:21:31 +03:00
Commit Graph

4204 Commits

Author SHA1 Message Date
Rob Rix
b2eee4985e
Run the reader around the parse fixtures. 2019-09-30 12:10:59 -04:00
Rob Rix
bd7feb1378
Run a reader around the parseTermBuilder calls. 2019-09-30 12:06:25 -04:00
Patrick Thomson
b1b9a23cb3
Merge branch 'master' into semantic-tags 2019-09-29 18:23:51 -04:00
Patrick Thomson
79dcbfd1ca Add test for Semantic.Git.lsTree.
I have a proposed speedup for lsTree, but since this resides on a
critical path for downstream systems, I want to make sure that I don't
break this while I'm at it.

I really should rewrite this test to use tasty-hspec, but it'd be a
long slog, and I have better things to do.
2019-09-29 13:44:14 -04:00
Rob Rix
7c44ebaa07
Missed one. 2019-09-27 20:45:14 -04:00
Rob Rix
23eb8ea78c
Call, not Send. 2019-09-27 20:00:12 -04:00
Rob Rix
e7dfd23548
Qualify the references to Module. 2019-09-27 19:53:22 -04:00
Rob Rix
3947c50a20
Another typo. 2019-09-27 18:55:26 -04:00
Rob Rix
36112e2785
Typo. 2019-09-27 18:14:50 -04:00
Rob Rix
7d90dbd56a
Fix the Tags spec. 2019-09-27 18:03:20 -04:00
Rob Rix
daefc921eb
Don’t export the Precise constructor. 2019-09-27 17:33:07 -04:00
Rob Rix
9b0187d53d
Fix a missing import of a symbol. 2019-09-27 17:32:38 -04:00
Rob Rix
fe349fc3f0
Merge branch 'master' into semantic-tags 2019-09-27 10:00:56 -04:00
Rob Rix
c0be280f34
Import runReader. 2019-09-27 10:00:40 -04:00
Rob Rix
71e796b1b9
This field is not in Maybe. 2019-09-27 10:00:32 -04:00
Rob Rix
d0f0925c37
🔥 a redundant import. 2019-09-27 10:00:14 -04:00
Rob Rix
e5ef1e67ef
Fix a couple of errors in the tests. 2019-09-26 13:40:22 -04:00
Patrick Thomson
a1b50b1f51 Convert Numeric.Spec to use Hedgehog. 2019-09-25 17:09:23 -04:00
Patrick Thomson
89b0b4ca45 Remove otiose Listable instances for App and AppMerge. 2019-09-25 16:59:45 -04:00
Patrick Thomson
a2a757c9f5 Convert Data.Semigroup.App.Spec to use Hedgehog. 2019-09-25 16:59:27 -04:00
Patrick Thomson
9158e31193 Add Properties module for easy tests of associativity/monoidality. 2019-09-25 16:59:06 -04:00
Patrick Thomson
439d694200 CyclomaticComplexity doesn't need an instance either. 2019-09-24 17:28:35 -04:00
Patrick Thomson
936d67fc77 Nothing uses ListableF anymore. 2019-09-24 17:26:26 -04:00
Patrick Thomson
39e404451d Remove instances for These and Gram. 2019-09-24 17:23:18 -04:00
Patrick Thomson
a4d42fbae6 Remove Free/FreeF and drop free dependency. 2019-09-24 17:21:45 -04:00
Patrick Thomson
67ed31e65f Remove unused syntax Listable instances.
Orphan instances don't come for free: they slow down compilation both
directly and indirectly (in that modules that use orphans pay extra
costs for searching the instance space, according to SPJ).
2019-09-24 17:15:41 -04:00
Patrick Thomson
875c302670 Build these concurrently. 2019-09-24 16:07:23 -04:00
Patrick Thomson
978018c1e1 Rewrite parse-examples target to use tasty.
This gets us a little bit of a speed boost, lets us drop a couple
dependencies, and makes us use streaming libraries.
2019-09-24 03:17:25 -04:00
Rob Rix
52bc7e640e
Rename locByteRange/locSpan to byteRange/span. 2019-09-20 17:32:52 -04:00
Rob Rix
a00a78e522
Merge branch 'master' into semantic-source 2019-09-20 16:16:34 -04:00
Rob Rix
c86186a414
🔥 a redundant import. 2019-09-20 16:13:46 -04:00
Rob Rix
2ce8b515b6
🔥 Data.Source.Spec. 2019-09-20 16:11:54 -04:00
Patrick Thomson
7b599a6499 Use Source.Source instead of Data.Source. 2019-09-20 15:51:49 -04:00
Patrick Thomson
948deb489f Fixup remaining test cases. 2019-09-20 15:47:08 -04:00
Rob Rix
f6e4864836
Move the span/range stuff into CMark. 2019-09-20 15:03:26 -04:00
Rob Rix
0f8e69c72f
Switch everything over to using Source.Loc. 2019-09-20 14:51:48 -04:00
Rob Rix
17c61c19d1
Switch everything over to using Source.Span. 2019-09-20 14:38:03 -04:00
Rob Rix
1d5e15010f
Switch everything over to using Source.Range. 2019-09-20 14:28:25 -04:00
Patrick Thomson
206773c125 Make parseFilePath take a RElPath. 2019-09-20 12:48:36 -04:00
Patrick Thomson
2e7a236f82 Fix weird spacing and overly complicated callGraphPythonProject. 2019-09-20 12:41:05 -04:00
Patrick Thomson
090b014eed Remove filepath dependency from tests. 2019-09-20 12:26:49 -04:00
Patrick Thomson
1cc29f4361 Add Data.BLob.fileForRelPath and avoid early toString calls. 2019-09-20 12:02:41 -04:00
Patrick Thomson
099aa6a7af diffFilePaths. 2019-09-20 11:54:11 -04:00
Patrick Thomson
a5d9367906 parseFilePath. 2019-09-20 11:52:39 -04:00
Patrick Thomson
aebbfc4706 make parseTestFile take typed arguments 2019-09-20 11:50:39 -04:00
Patrick Thomson
eafbd67178 Integration tests now use typed paths (to some degree) 2019-09-20 11:45:48 -04:00
Patrick Thomson
057aa5386a parse-examples now uses pathtype. 2019-09-20 11:34:09 -04:00
Patrick Thomson
33ce79724f Remove TOC.Spec's dependency on FilePath. 2019-09-20 11:20:35 -04:00
Patrick Thomson
ebf94a8d7e Move the CLI specs to use pathtype. 2019-09-19 21:16:42 -04:00
Patrick Thomson
058462adf5 Merge remote-tracking branch 'origin/master' into bump-to-tree-sitter-0.2.1 2019-09-17 16:17:43 -04:00