Skip to content

Commit ac5227b

Browse files
fix new signature for InCon (idris-community#230)
* fix new signature for InCon --------- Co-authored-by: Mathew Polzin <[email protected]>
1 parent 4ec24c8 commit ac5227b

File tree

4 files changed

+165
-21
lines changed

4 files changed

+165
-21
lines changed

Idris2

Submodule Idris2 updated 185 files

flake.lock

Lines changed: 162 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Server/Diagnostics.idr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ getRelatedErrors uri (WhenUnifying fc _ _ x y _) =
6868
]
6969
getRelatedErrors uri (ValidCase _ _ (Right err)) = getRelatedErrors uri err
7070
getRelatedErrors uri (InType _ _ err) = getRelatedErrors uri err
71-
getRelatedErrors uri (InCon _ _ err) = getRelatedErrors uri err
71+
getRelatedErrors uri (InCon _ err) = getRelatedErrors uri err
7272
getRelatedErrors uri (InLHS _ _ err) = getRelatedErrors uri err
7373
getRelatedErrors uri (InRHS _ _ err) = getRelatedErrors uri err
7474
getRelatedErrors _ _ = []

src/Server/QuickFix.idr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ findQuickfix : Ref LSPConf LSPConfiguration
7777
-> Core ()
7878
findQuickfix caps uri (WhenUnifying fc _ _ x y err) = findQuickfix caps uri err
7979
findQuickfix caps uri (InType _ _ err) = findQuickfix caps uri err
80-
findQuickfix caps uri (InCon _ _ err) = findQuickfix caps uri err
80+
findQuickfix caps uri (InCon _ err) = findQuickfix caps uri err
8181
findQuickfix caps uri (InLHS _ _ err) = findQuickfix caps uri err
8282
findQuickfix caps uri (InRHS _ _ err) = findQuickfix caps uri err
8383
findQuickfix caps uri err@(PatternVariableUnifies fc fct env n tm) =

0 commit comments

Comments
 (0)