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

20742 Commits

Author SHA1 Message Date
Timothy Clem
502b50404e This tracing is helpful right now 2018-04-17 16:40:44 -07:00
Timothy Clem
b39fa23497 Don't carry around rootModule path in ModuleInfo, factor out all the makeRelatives 2018-04-17 16:40:44 -07:00
Timothy Clem
f2443a7f31 Temporary trace to show when we are circular loading 2018-04-17 16:40:44 -07:00
Timothy Clem
04d8e06b5f Helper for tracing module resolution consistently 2018-04-17 16:40:44 -07:00
joshvera
49416c326e appease hlint 2018-04-17 19:39:16 -04:00
joshvera
5bac8ca4cf Fix test 2018-04-17 19:35:57 -04:00
joshvera
3a93f1fca8 Import Evaluatable for ExportError 2018-04-17 19:26:35 -04:00
joshvera
7d53807286 Update test to expect an resumable EvalError 2018-04-17 19:24:55 -04:00
joshvera
dbe3f89666 Remove unused function 2018-04-17 19:16:32 -04:00
joshvera
249e2977ab Throw and catch export errors 2018-04-17 19:12:53 -04:00
Patrick Thomson
eb649777cd fix test cases 2018-04-17 18:42:02 -04:00
joshvera
6e4aeeaaac Merge branch 'fix-graph-errors' into typescript-graphs 2018-04-17 18:26:44 -04:00
joshvera
8d8ebc9c87 Add a TypeAlias Evaluatable instance 2018-04-17 18:26:29 -04:00
joshvera
c157f52cb0 Merge branch 'typescript-graphs' into fix-graph-errors 2018-04-17 17:52:42 -04:00
joshvera
78b086a8f3 Add Evaluatable instance for AbstractClass 2018-04-17 17:51:52 -04:00
Timothy Clem
849e43f800 Merge remote-tracking branch 'origin/fix-graph-errors' into typescript-graphs 2018-04-17 14:34:31 -07:00
joshvera
0e188bb6f8 dont need this 2018-04-17 17:30:19 -04:00
joshvera
a2459bcdd4 Add Declarations instances for some terms
Identifier, Function, VariableDeclaration, InterfaceDeclaration, EnumDeclaration, InternalModule, AbstractClass
2018-04-17 17:28:38 -04:00
Timothy Clem
42f680fc47 Merge remote-tracking branch 'origin/fix-graph-errors' into typescript-graphs 2018-04-17 14:24:41 -07:00
Timothy Clem
8120b2af73 Merge remote-tracking branch 'origin/master' into typescript-graphs 2018-04-17 14:24:10 -07:00
Timothy Clem
95b7fd5888 Resolve module import paths that walk up directory structure (e.g. ../) 2018-04-17 14:13:01 -07:00
joshvera
a009d78f81 Merge remote-tracking branch 'origin/typescript-graphs' into fix-graph-errors 2018-04-17 17:07:44 -04:00
Patrick Thomson
79c6e38de6 whitespace 2018-04-17 17:05:32 -04:00
Patrick Thomson
3542e853f8 Add new expression node for Python's floor-division operator.
Both floor division (`//`) and true division (`/`) were being parsed
as `DividedBy` nodes. This fixes that. To test, try `2.5 // 1.26` and
`3 // 2`.
2018-04-17 17:03:31 -04:00
joshvera
33ff00dd79 Add evaluatable instance for DefaultExport 2018-04-17 16:51:48 -04:00
joshvera
3a19dae1f9 Add a Declarations class 2018-04-17 16:25:11 -04:00
Patrick Thomson
54131bee6e Merge pull request #1746 from github/fix-fails
Remove fail calls from literal evaluation.
2018-04-17 15:59:33 -04:00
Patrick Thomson
83a945d2b7 remove otiose import 2018-04-17 15:40:48 -04:00
Patrick Thomson
dfe40b4add Remove fails from Data.Syntax.Literal. 2018-04-17 15:33:45 -04:00
Patrick Thomson
7344a82295 WIP 2018-04-17 15:03:51 -04:00
Timothy Clem
0c5cabd93c Merge remote-tracking branch 'origin/fix-graph-errors' into typescript-graphs 2018-04-17 11:51:03 -07:00
joshvera
457378c1e1 Merge remote-tracking branch 'origin/typescript-graphs' into fix-graph-errors 2018-04-17 14:50:17 -04:00
Timothy Clem
d4769e41ba Throw instead of failing for bad pair value 2018-04-17 11:43:02 -07:00
Timothy Clem
4e57c57085 Ingore test graphs 2018-04-17 11:42:28 -07:00
Timothy Clem
850e8f238a Keep a load stack to break circular loads/imports 2018-04-17 11:02:47 -07:00
Timothy Clem
8d6942a6ba Don't need this function 2018-04-17 11:01:38 -07:00
joshvera
d752a222aa Add bitwise errors 2018-04-17 13:52:27 -04:00
joshvera
4d63b8163c Add a comparison error 2018-04-17 13:30:18 -04:00
Timothy Clem
16d985ddea Assign python matrix multiplication @ and @= 2018-04-17 08:34:43 -07:00
Timothy Clem
2b8bc548b8 Allow types in python assignment 2018-04-17 08:27:15 -07:00
Patrick Thomson
6ab34b0c51 Merge pull request #1745 from github/charliesome/remove-evaluatingstate-monoid
Remove EvaluatingState Semigroup and Monoid instances
2018-04-17 10:42:22 -04:00
Patrick Thomson
47a39e7e89 some comments 2018-04-17 10:23:51 -04:00
Charlie Somerville
c428ea8fa5 remove Semigroup and Monoid instances for EvaluatingState
these are technically lawful, but don't make a lot of sense for
EvaluatingSense
2018-04-17 16:34:14 +10:00
Charlie Somerville
34c10f2de8 relax RunEffect constrait to require only Empty, not Monoid 2018-04-17 16:31:30 +10:00
Charlie Somerville
560642579f add Data.Empty typeclass 2018-04-17 16:31:08 +10:00
Timothy Clem
e3713df8e2 Dedicated TypeScriptError, make hlint happy 2018-04-16 18:14:21 -07:00
Timothy Clem
400f831f5c These assign as symbols now! 2018-04-16 16:59:16 -07:00
Timothy Clem
784a0a8b70 Traded Identifier' for Symbol' I guess 2018-04-16 16:57:57 -07:00
Timothy Clem
4f888dcb52 Merge remote-tracking branch 'origin/master' into typescript-graphs 2018-04-16 16:53:02 -07:00
Timothy Clem
36e4bbecd9 Python fixture fixes 2018-04-16 16:52:54 -07:00