Skip to content

Commit

Permalink
fix new signature for InCon (#230)
Browse files Browse the repository at this point in the history
* fix new signature for InCon

---------

Co-authored-by: Mathew Polzin <[email protected]>
  • Loading branch information
andrevidela and mattpolzin authored Nov 8, 2024
1 parent 4ec24c8 commit ac5227b
Show file tree
Hide file tree
Showing 4 changed files with 165 additions and 21 deletions.
2 changes: 1 addition & 1 deletion Idris2
Submodule Idris2 updated 185 files
180 changes: 162 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Server/Diagnostics.idr
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ getRelatedErrors uri (WhenUnifying fc _ _ x y _) =
]
getRelatedErrors uri (ValidCase _ _ (Right err)) = getRelatedErrors uri err
getRelatedErrors uri (InType _ _ err) = getRelatedErrors uri err
getRelatedErrors uri (InCon _ _ err) = getRelatedErrors uri err
getRelatedErrors uri (InCon _ err) = getRelatedErrors uri err
getRelatedErrors uri (InLHS _ _ err) = getRelatedErrors uri err
getRelatedErrors uri (InRHS _ _ err) = getRelatedErrors uri err
getRelatedErrors _ _ = []
Expand Down
2 changes: 1 addition & 1 deletion src/Server/QuickFix.idr
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ findQuickfix : Ref LSPConf LSPConfiguration
-> Core ()
findQuickfix caps uri (WhenUnifying fc _ _ x y err) = findQuickfix caps uri err
findQuickfix caps uri (InType _ _ err) = findQuickfix caps uri err
findQuickfix caps uri (InCon _ _ err) = findQuickfix caps uri err
findQuickfix caps uri (InCon _ err) = findQuickfix caps uri err
findQuickfix caps uri (InLHS _ _ err) = findQuickfix caps uri err
findQuickfix caps uri (InRHS _ _ err) = findQuickfix caps uri err
findQuickfix caps uri err@(PatternVariableUnifies fc fct env n tm) =
Expand Down

0 comments on commit ac5227b

Please sign in to comment.