-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into enhance/hls-class…
…-plugin/structured
- Loading branch information
Showing
9 changed files
with
250 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,7 @@ runs: | |
sudo chown -R $USER /usr/local/.ghcup | ||
shell: bash | ||
|
||
- uses: haskell-actions/[email protected].6 | ||
- uses: haskell-actions/[email protected].7 | ||
id: HaskEnvSetup | ||
with: | ||
ghc-version : ${{ inputs.ghc }} | ||
|
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 |
---|---|---|
|
@@ -127,7 +127,7 @@ jobs: | |
example: ['cabal', 'lsp-types'] | ||
|
||
steps: | ||
- uses: haskell-actions/[email protected].6 | ||
- uses: haskell-actions/[email protected].7 | ||
with: | ||
ghc-version : ${{ matrix.ghc }} | ||
cabal-version: ${{ matrix.cabal }} | ||
|
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Sphinx~=5.3.0 | ||
sphinx-rtd-theme~=1.1.0 | ||
myst-parser~=1.0.0 | ||
docutils<0.19 | ||
Sphinx~=8.1.3 | ||
sphinx-rtd-theme~=3.0.2 | ||
myst-parser~=4.0.0 | ||
docutils~=0.21.2 |
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
132 changes: 106 additions & 26 deletions
132
plugins/hls-explicit-record-fields-plugin/src/Ide/Plugin/ExplicitFields.hs
Large diffs are not rendered by default.
Oops, something went wrong.
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
16 changes: 16 additions & 0 deletions
16
plugins/hls-explicit-record-fields-plugin/test/testdata/PositionalConstruction.expected.hs
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,16 @@ | ||
{-# LANGUAGE Haskell2010 #-} | ||
|
||
module PositionalConstruction where | ||
|
||
data MyRec = MyRec | ||
{ foo :: Int | ||
, bar :: Int | ||
, baz :: Char | ||
} | ||
|
||
convertMe :: () -> MyRec | ||
convertMe _ = | ||
let a = 3 | ||
b = 5 | ||
c = 'a' | ||
in MyRec { foo = a, bar = b, baz = c } |
16 changes: 16 additions & 0 deletions
16
plugins/hls-explicit-record-fields-plugin/test/testdata/PositionalConstruction.hs
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,16 @@ | ||
{-# LANGUAGE Haskell2010 #-} | ||
|
||
module PositionalConstruction where | ||
|
||
data MyRec = MyRec | ||
{ foo :: Int | ||
, bar :: Int | ||
, baz :: Char | ||
} | ||
|
||
convertMe :: () -> MyRec | ||
convertMe _ = | ||
let a = 3 | ||
b = 5 | ||
c = 'a' | ||
in MyRec a b c |