-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #2601 According to the standard the `Some` needs to be escaped when used as a field accessor because the `any-label` grammar rule kicks in, which specifically does not permit `Some`.
- Loading branch information
1 parent
40d0d39
commit dc48911
Showing
7 changed files
with
93 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
let T = < Some | Type > | ||
|
||
let t | ||
: T | ||
= T.`Some` | ||
|
||
let x | ||
: T | ||
= T.Type | ||
|
||
in True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
let T = < Some | Type > | ||
|
||
let t | ||
: T | ||
= T.`Some` | ||
|
||
let x | ||
: T | ||
= T.Type | ||
|
||
in True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ mkDerivation, aeson, aeson-pretty, ansi-terminal, async, base | ||
, bytestring, co-log-core, conduit, conduit-parse, containers | ||
, data-default, Diff, directory, exceptions, extra, filepath, Glob | ||
, hspec, lens, lib, lsp, lsp-types, mtl, parser-combinators | ||
, process, row-types, some, text, time, transformers, unix | ||
, unliftio | ||
}: | ||
mkDerivation { | ||
pname = "lsp-test"; | ||
version = "0.15.0.1"; | ||
sha256 = "ad5be9baa344337b87958dfeb765e3edceca47c4ada57fb1ffeccf4056c57ad8"; | ||
libraryHaskellDepends = [ | ||
aeson aeson-pretty ansi-terminal async base bytestring co-log-core | ||
conduit conduit-parse containers data-default Diff directory | ||
exceptions filepath Glob lens lsp lsp-types mtl parser-combinators | ||
process row-types some text time transformers unix | ||
]; | ||
testHaskellDepends = [ | ||
aeson base co-log-core containers data-default directory filepath | ||
hspec lens lsp mtl parser-combinators process text unliftio | ||
]; | ||
testToolDepends = [ lsp ]; | ||
benchmarkHaskellDepends = [ base extra lsp process ]; | ||
homepage = "https://github.com/haskell/lsp/blob/master/lsp-test/README.md"; | ||
description = "Functional test framework for LSP servers"; | ||
license = lib.licenses.bsd3; | ||
} |