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

32946 Commits

Author SHA1 Message Date
joshvera
fe18cdaed2 formatting 2020-02-07 18:13:43 -05:00
joshvera
c3e8a15b81 Update Reference
should probably remove ReferenceInfo?
2020-02-07 18:10:33 -05:00
joshvera
d78386f5a2 create new references in qualified import statements 2020-02-07 18:09:46 -05:00
joshvera
a77bcc9133 call newReference in Py.Identifier 2020-02-07 18:09:15 -05:00
joshvera
0ac1ce55e1 Add newReference 2020-02-07 18:04:59 -05:00
Patrick Thomson
340b6eaec4
Merge pull request #474 from github/graph-partitioning
Break up Data.ScopeGraph and reorg semantic-scope-graph.
2020-02-07 15:34:38 -05:00
Patrick Thomson
06e8c6ecaa Break up Data.ScopeGraph and reorg semantic-scope-graph. 2020-02-07 15:08:33 -05:00
Josh Vera
f6c7c5e870
Merge pull request #473 from github/import-holes
Import holes
2020-02-07 13:50:26 -05:00
joshvera
1aab661b0f fix Void conflicts 2020-02-07 12:28:21 -05:00
joshvera
317c0c1473 stub in other cases 2020-02-07 10:53:20 -05:00
joshvera
58198d5647 remove L suffix from EdgeLabel.Void 2020-02-06 17:39:37 -05:00
joshvera
7aa975624a bump the store 2020-02-06 15:49:34 -05:00
joshvera
ff3e6973f9 also redundant 2020-02-06 15:33:18 -05:00
joshvera
c3dac243c2 remove redundant import 2020-02-06 15:30:27 -05:00
joshvera
07c944eb8e remove import 2020-02-06 15:21:02 -05:00
joshvera
a8871b69eb stylish-haskell 2020-02-06 14:53:41 -05:00
joshvera
ff1d8a73ab Merge remote-tracking branch 'origin/master' into import-holes 2020-02-06 14:53:32 -05:00
Patrick Thomson
3e135837fd
Merge pull request #470 from github/macro-madness
Silence REPL macro-redefined warnings from the C compiler.
2020-02-06 14:25:59 -05:00
joshvera
1036b3a4d7 addImportHole adds an additional VoidL edge 2020-02-05 21:29:37 -05:00
joshvera
0bc0a638b3 document addImportEdge 2020-02-05 21:11:15 -05:00
joshvera
a47186f38d add a base case for importEdge 2020-02-05 21:06:58 -05:00
joshvera
66ee2cf54d use addImportHole internally 2020-02-05 21:04:03 -05:00
joshvera
34186bced7 Remove sketches 2020-02-05 21:00:11 -05:00
joshvera
596ac8da54 Label the edge to the import instead of the last hole 2020-02-05 20:44:04 -05:00
joshvera
d8bad61c1f fix tests 2020-02-05 19:52:47 -05:00
joshvera
b8eaf61863 Rename effect to ScopeGraph 2020-02-05 19:49:50 -05:00
joshvera
5044f41e41 lookupReference docs 2020-02-05 19:49:39 -05:00
joshvera
c3c707cd6a Lookup scopes while adding import edges
otherwise create intermediate scopes
2020-02-05 19:49:32 -05:00
joshvera
d023a5e007 Set the last import hole label to Void 2020-02-05 19:48:19 -05:00
joshvera
0c4e86cb11 Call insertEdge in expectedImportHole 2020-02-05 19:47:24 -05:00
joshvera
f927f0b8c0 Rename Sketch effect to a ScopeGraph effect 2020-02-05 19:46:58 -05:00
joshvera
8e65043578 insertEdge now takes a target scope's name 2020-02-05 19:46:08 -05:00
Patrick Thomson
c971f0bb6e
Merge pull request #463 from github/hands-on-my-property
Move DeclProperties and FunProperties record types to their own modules.
2020-02-05 19:36:27 -05:00
joshvera
2413590790 add addImportEdge and addImportHole 2020-02-05 18:35:44 -05:00
joshvera
b95a575ae2 Change insertEdge to take 1 edge 2020-02-05 18:03:53 -05:00
Patrick Thomson
9cfa5726d2 Bust the cache again. 2020-02-05 18:01:35 -05:00
Patrick Thomson
2384236e30 Merge remote-tracking branch 'origin/master' into hands-on-my-property 2020-02-05 17:55:06 -05:00
Patrick Thomson
bf056d0a06
Merge pull request #466 from github/zero-coolest
Remove Lower instances for Span and Pos.
2020-02-05 12:58:05 -05:00
Patrick Thomson
e4f58a7827 Merge remote-tracking branch 'origin/master' into hands-on-my-property 2020-02-05 10:48:37 -05:00
Patrick Thomson
622b40b62b Merge remote-tracking branch 'origin/master' into zero-coolest 2020-02-04 23:30:54 -05:00
Patrick Thomson
147245d03e
Merge pull request #458 from github/the-locative-case
Preserve Python AST span information in scope graph.
2020-02-04 23:30:16 -05:00
Patrick Thomson
4da8b83975
Merge pull request #469 from github/traversty
Traversable1 instances for AST datatypes
2020-02-04 23:16:13 -05:00
Patrick Thomson
65e661552b Silence REPL macro-redefined warnings from the C compiler.
In certain cases, use of the REPL can land us in a state where there
are multiple `cabal_macros.h` files being included, leading to
duplicate macro definitions. This does not factor into correctness,
as these duplicates are, well, duplicate definitions, but the warning
is tedious, so this patch passes `-Wno-macro-redefined` to the C compiler.
2020-02-04 18:31:03 -05:00
Patrick Thomson
346fa621ec Merge remote-tracking branch 'origin/master' into the-locative-case 2020-02-04 18:28:35 -05:00
Patrick Thomson
228f2d54c1 Codegen now depends on ast. 2020-02-04 18:27:34 -05:00
Patrick Thomson
fa90f502f3 Merge remote-tracking branch 'origin/master' into traversty 2020-02-04 18:26:19 -05:00
Patrick Thomson
2e931b769a
Merge pull request #467 from github/orphan-no-longer
Bump fused-effects version and remove orphan instance.
2020-02-04 18:24:07 -05:00
Patrick Thomson
a5f2076091 One more. 2020-02-04 15:41:58 -05:00
Patrick Thomson
51db7cd3e8 One more import (where are these coming from?) 2020-02-04 15:00:08 -05:00
Rob Rix
816511846d
cache buster, cache buster, bust me a cache 2020-02-04 14:40:59 -05:00