Skip to content

Commit

Permalink
compatibility with idris PR 3480 (#236)
Browse files Browse the repository at this point in the history
  • Loading branch information
dunhamsteve authored Feb 9, 2025
1 parent df322fa commit bc8e5a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Idris2
Submodule Idris2 updated 228 files
2 changes: 1 addition & 1 deletion src/Language/LSP/SignatureHelp.idr
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ renderDataTypeInfo n d@(DCon tag arity newtypeArg) = do
renderDataTypeInfo n d@(TCon tag arity parampos detpos flags mutwith datacons detagabbleBy) = do
-- Render the data structure information for the type.
context <- gets Ctxt gamma
constructors <- for datacons $ \dn => case !(lookupDefName dn context) of
constructors <- for (fromMaybe [] datacons) $ \dn => case !(lookupDefName dn context) of
[(_, _, DCon _ _ _)] => do
fullName <- getFullName dn
pure $ Just " | \{show fullName} ..."
Expand Down

0 comments on commit bc8e5a7

Please sign in to comment.