Rick Winfrey
5824ea1b73
Add additional type signature tests
2018-06-08 15:07:07 -07:00
Rick Winfrey
c1b0980383
I like hugging my code with extra ()
, sorry to inconvenience you hlint
2018-06-08 12:13:58 -07:00
Rick Winfrey
c688f580f7
Regenerate go test fixtures
2018-06-08 12:10:54 -07:00
Rick Winfrey
646e1c3459
Be explicit about each identifier type
...
I went through a lot of trouble to make every identifier parsed in `tree-sitter-haskell` as accurate as possible (i.e. type variable identifier vs constructor identifier vs type class identifier). This enables us to keep those distinctions with assignment at the cost of adding more constructors.
2018-06-08 12:05:17 -07:00
Rick Winfrey
6f8dff06f8
Assign equality constraints
2018-06-08 12:02:13 -07:00
Rick Winfrey
780e5f295b
Assign tuples
2018-06-08 12:01:06 -07:00
Rick Winfrey
9a76a2ea24
Bump haskell-tree-sitter
2018-06-08 11:02:24 -07:00
Rick Winfrey
ce8cd489af
Assign default declarations
2018-06-08 10:33:42 -07:00
Rick Winfrey
5d3ece8d69
Allow multiple contexts (for scoped type variables and type class constraints) for data constructors
2018-06-08 10:23:21 -07:00
Rick Winfrey
867170b39a
Assign primitive constructor identifiers
2018-06-08 10:13:24 -07:00
Rick Winfrey
0cc63f89f3
Assign newtype declarations
2018-06-08 10:06:09 -07:00
Rick Winfrey
4dd8cb6e91
Merge pull request #1938 from github/haskell-assignment
...
Haskell assignment #6
2018-06-08 09:33:51 -07:00
Rick Winfrey
1c339e9275
Add manyTerm, someTerm', and commentedTerm helpers
2018-06-08 09:25:05 -07:00
Rick Winfrey
9e6acf337c
Merge branch 'master' into haskell-assignment
2018-06-07 17:50:27 -07:00
Rick Winfrey
1ba0723373
Flush out more types and type synonym declaration assignments
2018-06-07 17:49:37 -07:00
Rick Winfrey
ea2bca03b6
Use NonEmpty lists for qualified names
...
Co-Authored-By: Timothy Clem <timothy.clem@gmail.com>
2018-06-07 15:48:55 -07:00
Rick Winfrey
5c0191378b
Assign module exports including:
...
- Constructor Operators
- Type Operators
- Variable Operators
- Module Exports (exporting a module)
- Constructor Symbols
- Variable Symbols
- Qualified Module Identifiers
2018-06-07 14:17:39 -07:00
Josh Vera
c04f3179e4
Merge pull request #1933 from github/haskell-assignment
...
Haskell assignment #5
2018-06-07 17:01:09 -04:00
Rick Winfrey
b9d7f5fe46
Bump haskell-tree-sitter
2018-06-07 11:21:02 -07:00
Rob Rix
b08d3736fa
Merge branch 'master' into haskell-assignment
2018-06-07 11:35:56 -04:00
Rob Rix
b7fa65207a
Merge pull request #1934 from github/charliesome/test-type-annos
...
Add type annotation to testEvaluating
2018-06-07 11:00:02 -04:00
Rick Winfrey
e4ba876e18
Merge branch 'master' into haskell-assignment
2018-06-06 20:49:20 -07:00
Rick Winfrey
8ab606654c
Update go test fixtures
2018-06-06 20:42:04 -07:00
Charlie Somerville
2fc9f1ca25
add type annotation to testEvaluating
2018-06-07 12:01:48 +10:00
Rick Winfrey
c9998e2ada
hlint suggestions
2018-06-06 17:17:59 -07:00
Rick Winfrey
bd43959cb0
Assign annotated type variables
2018-06-06 17:03:27 -07:00
Rick Winfrey
fc7c578b9b
Allow pragmas within gadt constructors
2018-06-06 16:58:54 -07:00
Rick Winfrey
a7795bca03
Assign qualified type constructor identifiers
2018-06-06 16:53:48 -07:00
Rick Winfrey
8cb6d7ed0a
Release the kinds!
2018-06-06 15:41:57 -07:00
Rob Rix
511b02afa9
Merge pull request #1930 from github/no-more-fail-effect
...
No more Fail effect
2018-06-06 18:05:42 -04:00
Rick Winfrey
2e792df250
Assign fields within GADT constructors
2018-06-06 14:42:25 -07:00
Rob Rix
0011b909b3
Merge branch 'master' into no-more-fail-effect
2018-06-06 15:18:25 -04:00
Rob Rix
793555f38e
Merge pull request #1932 from github/java-assignment-text-fixtures
...
Java assignment text fixtures
2018-06-06 15:18:08 -04:00
Ayman Nadeem
89a6be151d
array access test
2018-06-06 11:31:22 -07:00
Ayman Nadeem
0913be8189
spread parameter test
2018-06-06 11:30:37 -07:00
Ayman Nadeem
4680c86cd4
wildcard + bounds test
2018-06-06 11:14:35 -07:00
Ayman Nadeem
e2f6b1eff1
add test for enum declaration with modifier
2018-06-06 11:09:15 -07:00
Ayman Nadeem
cf63da3cbf
add field access test
2018-06-06 11:06:16 -07:00
Rob Rix
f9a256d2a5
Merge branch 'master' into no-more-fail-effect
2018-06-06 13:32:37 -04:00
Rob Rix
3e4005ab65
Merge pull request #1931 from github/java-assignment-part-2
...
Java assignment continues...
2018-06-06 13:32:21 -04:00
Rob Rix
9a0ffdb794
Merge branch 'master' into java-assignment-part-2
2018-06-06 12:08:01 -04:00
Rob Rix
a9f1e0c34e
🔥 a redundant import.
2018-06-06 11:22:52 -04:00
Rob Rix
c74263d9d6
Revert "Variable lookup is total, failing when the Env effect is run instead."
...
This reverts commit b96aaffa19a548a0ff50c862460e1a12b4031e89.
2018-06-06 10:39:10 -04:00
Rob Rix
7657af6ed8
Revert " 🔥 lookupOrAlloc."
...
This reverts commit bc28749e5f0c66601c7f1f280327c75073ba922f.
2018-06-06 10:37:29 -04:00
Rob Rix
83ee082259
Regenerate all of the affected fixtures.
2018-06-06 10:35:47 -04:00
Rob Rix
37ca14ff75
Correct the MemberAccess assignments for Go.
2018-06-06 10:31:04 -04:00
Rob Rix
3fc86616a5
We no longer define a constraint synonym.
2018-06-06 10:04:38 -04:00
Rob Rix
d93ce65861
🔥 the default signature for eval.
2018-06-06 10:00:50 -04:00
Rob Rix
0f2fa52db7
🔥 EvaluatableConstraints.
2018-06-06 09:58:00 -04:00
Rob Rix
351e819853
Don’t use EvaluatableConstraints to define evaluatePackageWith.
2018-06-06 09:57:02 -04:00