1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
Ayman Nadeem
0900bdbe74 Merge branch 'master' into my-grate 2020-01-29 15:09:17 -05:00
Ayman Nadeem
4bb39cba96 change Data.Graph to Data.Graph.Algebraic 2020-01-28 13:25:59 -05:00
Patrick Thomson
3ffb8d4b22 Better names everywhere. 2020-01-24 15:41:49 -05:00
Patrick Thomson
052a95e9b6 tests work now 2019-12-10 13:38:09 -05:00
Rob Rix
a8a3bca972
Fix some missed language extensions. 2019-10-30 13:16:17 -04:00
Rob Rix
7262484a57
Add language extensions to everything. 2019-10-30 12:49:23 -04:00
Rob Rix
d78adfc09d
🔥 a redundant import. 2019-10-23 15:03:30 -04:00
Rob Rix
d18d122beb
Import the parse effect. 2019-10-23 14:52:34 -04:00
Rob Rix
93db4cfa45
Use the helpers anywhere we look up a parser. 2019-10-23 12:17:10 -04:00
Rob Rix
790e823a50
Select the Python parser abstractly. 2019-10-23 11:58:02 -04:00
Patrick Thomson
df96f43acd Make findFilesInDir use pathtype. 2019-10-11 19:24:53 -04:00
Timothy Clem
1232cc372a Don't need to hide readFile 2019-10-02 13:53:16 -07: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
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
Patrick Thomson
6a15695195 Even more unused imports. 2019-06-12 13:16:34 -04:00
Patrick Thomson
7aeb88227a Just don't optimize these specs for now. 2019-06-10 18:53:20 -04:00
Timothy Clem
ce04fa8f12 Refactor runTask 2019-02-01 15:04:23 -08:00
Rob Rix
4ec497b793 Use runTask when we aren’t setting the Options. 2018-10-30 14:49:07 -04:00
Patrick Thomson
ef696d3c41 Split up Semantic.IO.
This looks like a big patch, but it's very straightforward: no
behavior has changed.

After the umpteenth time spent hitting a compile error because I
passed a `FilePath` rather than a `File` to `readBlobFromPath`, I
decided to finally make the needed refactors to Semantic.IO, and to
split off the `File` type and `Files` effect. This patch:

* adds the `MonadIO` class to `Prologue`'s export list
* moves `File` into `Data.File`
* moves `Handle` into `Data.Handle`
* moves `Files` into `Semantic.Task.Files`
* moves functions for reading blobs into `Data.Blob`
* keeps general IO helpers in Semantic.IO
* renames `readFile` to `readBlobFromFile`
* renames `readBlobFromPath` to `readBlobFromFile'`

This should have a positive effect on compile times and ease of
navigation throughout the codebase.
2018-10-23 15:37:49 -04:00
Timothy Clem
31d093d1c9 Fix tests 2018-09-06 16:29:59 -07:00
Rob Rix
8c9debbd17 Fix up the specs. 2018-08-03 14:14:08 -04:00
Timothy Clem
4bd2806a8f Fix up tests 2018-07-24 11:06:14 -07:00
Timothy Clem
a140371b18 Fix up call graph tests 2018-07-18 07:53:46 -07:00
Patrick Thomson
9813122425 cleanup 2018-07-16 13:13:53 -04:00
Patrick Thomson
5c8cd4a109 test less-copacetic cases 2018-07-16 11:36:17 -04:00
Patrick Thomson
e05f419314 Abstract interpretation test. 2018-07-16 11:12:17 -04:00
Patrick Thomson
0ed48c7bbe Simplest test possible. 2018-07-16 11:07:40 -04:00