1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00
Commit Graph

281 Commits

Author SHA1 Message Date
Patrick Thomson
dc69714053 Merge remote-tracking branch 'origin/master' into glorious-ghc-upgrade-8.8 2019-12-13 11:23:36 -05:00
Patrick Thomson
052a95e9b6 tests work now 2019-12-10 13:38:09 -05:00
Patrick Thomson
d26ff76a9f First pass over the specs. 2019-11-08 22:48:26 -05:00
Patrick Thomson
b9388d1d20 Fix SpecHelpers.
Man, this is a monster of a file.
2019-11-08 22:43:09 -05:00
Rob Rix
a8a3bca972
Fix some missed language extensions. 2019-10-30 13:16:17 -04:00
Rob Rix
93db4cfa45
Use the helpers anywhere we look up a parser. 2019-10-23 12:17:10 -04:00
Rob Rix
52af054614
Move parseTestFile into Tags.Spec. 2019-10-23 10:52:26 -04:00
Rob Rix
35c429399c
Coerce straight to the desired term type. 2019-10-23 10:34:10 -04:00
Rob Rix
22f3440e0e
Rename TestEvaluatingResult to TestEvaluatingState and add an actual result synonym. 2019-10-23 10:27:38 -04:00
Rob Rix
0651d21e63
Define a type synonym for evaluating results. 2019-10-23 10:16:46 -04:00
Rob Rix
fa02ff0a45
Revert "Only coerce the errors."
This reverts commit c9022d863c.
2019-10-23 10:02:33 -04:00
Rob Rix
73ddec60c1
Rename the import of Data.Sum. 2019-10-23 10:01:27 -04:00
Rob Rix
97b495c6d5
Revert "Generalize ValueError over the value type."
This reverts commit 769e00f3f7.
2019-10-23 09:39:54 -04:00
Rob Rix
769e00f3f7
Generalize ValueError over the value type. 2019-10-23 09:33:01 -04:00
Rob Rix
c9022d863c
Only coerce the errors. 2019-10-22 17:12:00 -04:00
Rob Rix
73c30b3312
Define a project evaluator. 2019-10-22 16:16:47 -04:00
Rob Rix
74e1d76331
Sort imports. 2019-10-22 16:00:35 -04:00
Rob Rix
6606d52841
Eliminate uses of Both. 2019-10-18 10:45:59 -04:00
Rob Rix
86389e8e87
Re-export Edit. 2019-10-18 10:33:47 -04:00
Rob Rix
9ef511b6f1
Write diffFilePaths using do notation. 2019-10-18 10:29:43 -04:00
Rob Rix
b8b9105a0a
Define readFilePathPair as a composition. 2019-10-18 10:27:42 -04:00
Patrick Thomson
df96f43acd Make findFilesInDir use pathtype. 2019-10-11 19:24:53 -04:00
Rob Rix
116e5b385a
Merge branch 'master' into semantic-java 2019-10-02 17:32:09 -04:00
Rob Rix
4e83f50053
Fix all the tests. 2019-09-30 17:59:23 -04:00
Rob Rix
9e183cd46b
Rename TaskEff to TaskC. 2019-09-30 15:54:57 -04:00
Rob Rix
1ec65b4858
Define a constructor for the default language modes. 2019-09-27 19:02:14 -04:00
Rob Rix
daefc921eb
Don’t export the Precise constructor. 2019-09-27 17:33:07 -04:00
Rob Rix
71e796b1b9
This field is not in Maybe. 2019-09-27 10:00:32 -04:00
Rob Rix
e5ef1e67ef
Fix a couple of errors in the tests. 2019-09-26 13:40:22 -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
Patrick Thomson
948deb489f Fixup remaining test cases. 2019-09-20 15:47:08 -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
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
Rob Rix
b1fe3e6073
🔥 a bunch of redundant imports. 2019-07-15 15:23:29 -04:00
Jan Hrček
ec4248cbb4 Fix warnings in tests
27 [-Wunused-matches]
 7 [-Wmissing-export-lists]
 6 [-Wunused-imports]
 5 [-Wmissing-signatures]
 2 [-Wincomplete-uni-patterns]
 1 [-Wunused-top-binds]
 1 [-Wtype-defaults]
2019-06-15 08:56:59 +02:00
Jan Hrček
8959d4d1d6 Fix -Wdodgy-imports warnings 2019-06-14 15:46:06 +02:00
Patrick Thomson
b8cb9d1bfa Remove unused imports. 2019-06-12 12:52:11 -04:00
Patrick Thomson
14bbf6856b Kill verbatim, since we have more principled golden tests now. 2019-06-12 12:46:30 -04:00
Patrick Thomson
99c4bb21f8 Overhaul test harnesses and add tasty bounds. 2019-06-12 11:30:20 -04:00
Rob Rix
5a35598213
Return the actual exception when parsing/assignment fails. 2019-06-05 14:28:28 -04:00
Patrick Thomson
b8d3a06a67 Fix all the test cases. 2019-05-21 22:28:32 -04:00
Patrick Thomson
9509ec37b8 absolutely massive patch that touches everything 2019-05-21 22:05:23 -04:00
Patrick Thomson
79ae590376 compiles 2019-03-06 10:12:10 -05:00
Patrick Thomson
6b763dd5e9 Fix tests. 2019-02-15 17:55:15 -05:00