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

25096 Commits

Author SHA1 Message Date
Rob Rix
85adaafef5 Fix the doctests. 2018-08-13 10:20:13 -04:00
Rob Rix
68157b1fa0 Apply the correct value type. 2018-08-13 10:06:12 -04:00
Rob Rix
99e377aec7 Fix a missed reference to Deref in the specs. 2018-08-13 09:58:18 -04:00
Rob Rix
d825ceda56 🔥 the address parameter to Deref. 2018-08-13 09:57:18 -04:00
Rob Rix
9c9fa333d6 🔥 Allocatable & Derefable. 2018-08-13 09:46:46 -04:00
Rob Rix
c5234c0d62 🔥 the instances of Allocatable and Derefable. 2018-08-13 09:44:40 -04:00
Rob Rix
51036dcada 🔥 the unspecialized handlers for Allocator and Deref. 2018-08-13 09:43:52 -04:00
Rob Rix
a438930c91 Use the specialized handlers for Allocator and Precise. 2018-08-13 09:43:37 -04:00
Rob Rix
8cd4d8808f Move Hole into its own module. 2018-08-13 09:37:39 -04:00
Rob Rix
16964350b0 Stub in a module for the Hole address type. 2018-08-13 09:35:37 -04:00
Rob Rix
669834ad88 Define an extracted, Hole-specific handler for Deref. 2018-08-13 09:33:47 -04:00
Rob Rix
e6c1801dc3 Define an extracted, Hole-specific handler for Allocator. 2018-08-13 09:31:56 -04:00
Rob Rix
339eb4df87 We aren’t using LambdaCase here any more. 2018-08-13 09:29:37 -04:00
Rob Rix
fe1b62bb96 Extract the Monovariant-specific handler for Deref. 2018-08-13 09:29:13 -04:00
Rob Rix
15c9e285b8 Extract the Monovariant-specific handler for Allocator. 2018-08-13 09:28:05 -04:00
Rob Rix
de3493c1cc Extract the Located-specific handler for Deref. 2018-08-13 09:26:27 -04:00
Rob Rix
9f2e022db2 Extract the Located-specific handler for Allocator. 2018-08-13 09:23:23 -04:00
Rob Rix
a2e88845f3 Define a Located-specific handler for Deref. 2018-08-13 09:21:30 -04:00
Rob Rix
137aabc77a Extract the Precise-specific handler for Deref. 2018-08-13 09:17:47 -04:00
Rob Rix
3902cbfd2d Extract the Precise-specific handler for Allocator. 2018-08-13 09:16:14 -04:00
Rob Rix
6506aeef36 Define a Located-specific handler for Allocator. 2018-08-13 09:15:31 -04:00
Rob Rix
ee345d499b Define Monovariant-specific handlers for Allocator & Deref. 2018-08-13 09:14:36 -04:00
Rob Rix
b014daa5dd Define Precise-specific handlers for Allocator & Deref. 2018-08-13 09:12:57 -04:00
Rick Winfrey
3b5ab7eae6 Newtype 2018-08-10 14:41:52 -07:00
Ayman Nadeem
054f5b4b36 fix heapDelete type signature 2018-08-10 17:41:46 -04:00
Rick Winfrey
686e1e6d09 Update fixtures 2018-08-10 14:33:39 -07:00
Rick Winfrey
7057ae128f Lints 2018-08-10 14:28:46 -07:00
Rick Winfrey
78400992b2 Merge branch 'update-haskell-tree-sitter' of https://github.com/github/semantic into update-haskell-tree-sitter 2018-08-10 14:15:38 -07:00
Rick Winfrey
fce34cd17d Update abstractClass 2018-08-10 14:10:14 -07:00
Rick Winfrey
8f0b275fab Update lookupType 2018-08-10 14:08:00 -07:00
Rick Winfrey
9bba993b4d Update indexTypeQuery to now take typeIdentifier 2018-08-10 14:02:19 -07:00
Rick Winfrey
64f052eea8 Readability 2018-08-10 14:02:06 -07:00
Rob Rix
9def42948e Pull gc back out of the Allocator effect. 2018-08-10 17:00:57 -04:00
Rick Winfrey
f272d604ca Alignment 2018-08-10 13:58:22 -07:00
Rick Winfrey
5b3606a1e0 Reflow 🔤 2018-08-10 13:58:13 -07:00
Ayman Nadeem
2906e39b71 remove redundant brackets 2018-08-10 16:57:53 -04:00
Ayman Nadeem
0a10f79f36 Merge branch 'master' into eval-instances 2018-08-10 16:46:51 -04:00
Rick Winfrey
5a8cf8dc67 Simplify 2018-08-10 13:32:23 -07:00
Rob Rix
6140256b56 Pass the Allocator/Deref handler into evaluate. 2018-08-10 16:05:12 -04:00
Timothy Clem
9ba005bbcc Quote the key 2018-08-10 13:01:13 -07:00
Timothy Clem
aacc1463cd Proper opening Associative for JSON 2018-08-10 13:00:56 -07:00
Rob Rix
9afa2e5f4e Rephrase Deref to closely mirror the Derefable class. 2018-08-10 15:55:29 -04:00
Rob Rix
e99215de9c Sort the Fresh effect up. 2018-08-10 15:54:53 -04:00
Rob Rix
4fb4419b92 Re-export AddressError. 2018-08-10 15:54:39 -04:00
Rick Winfrey
55eeddebe0 Provide more flexibility in Go method declaration (support mutliple receivers)
Although this is technically invalid Go, tree-sitter-go produces a valid parse tree. Previously we threw an error.
2018-08-10 12:53:11 -07:00
Rick Winfrey
d8d818c5c9 Fix Go method declaration assignment
It's not necessarily the case that a block will be present even though a return type can be specified in a method declaration.
2018-08-10 12:46:53 -07:00
Rick Winfrey
ca5d2e0fa6 Assign interpreted string literals and raw string literals within Go import spec 2018-08-10 12:45:15 -07:00
Timothy Clem
02e88ff37b Carry around origin term when we match to get back proper ann
Also removes need for spurious Monoid instance
2018-08-10 12:39:59 -07:00
Rob Rix
904d2ff9df Compact the Allocator constructors a little. 2018-08-10 15:33:00 -04:00
Rob Rix
f0d216da2c 🔥 the value parameter from Allocator. 2018-08-10 15:32:10 -04:00