Skip to content

Commit 4c52957

Browse files
committed
Do not test qualify imported names plugin
1 parent fb1d5f1 commit 4c52957

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ jobs:
214214
name: Test hls-alternate-number-format-plugin test suite
215215
run: cabal test hls-alternate-number-format-plugin --test-options="$TEST_OPTS" || cabal test hls-alternate-number-format-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-alternate-number-format-plugin --test-options="$TEST_OPTS"
216216

217-
- if: matrix.test
217+
- if: matrix.test && matrix.ghc != '9.2.1'
218218
name: Test hls-qualify-imported-names-plugin test suite
219219
run: cabal test hls-qualify-imported-names-plugin --test-options="$TEST_OPTS" || cabal test hls-qualify-imported-names-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-qualify-imported-names-plugin --test-options="$TEST_OPTS"
220220

plugins/hls-qualify-imported-names-plugin/src/Ide/Plugin/QualifyImportedNames.hs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,17 @@ import Development.IDE.GHC.Compat (ContextInfo (Use),
3838
ImportSpec (ImpSpec),
3939
LImportDecl, ModuleName,
4040
Name, NameEnv, OccName,
41-
ParsedModule (ParsedModule, pm_parsed_source),
42-
RefMap, Span, SrcSpan,
41+
ParsedModule, RefMap, Span,
42+
SrcSpan,
4343
TcGblEnv (tcg_rdr_env),
4444
emptyUFM, globalRdrEnvElts,
4545
gre_imp, gre_name,
4646
lookupNameEnv,
4747
moduleNameString,
4848
nameOccName, occNameString,
49-
pattern GRE, plusUFM_C,
49+
pattern GRE,
50+
pattern ParsedModule,
51+
plusUFM_C, pm_parsed_source,
5052
srcSpanEndCol,
5153
srcSpanEndLine,
5254
srcSpanStartCol,

0 commit comments

Comments
 (0)