Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove workaround
  • Loading branch information
zyla committed May 19, 2025
commit 18f25e7f9e04369211f8b72f724df7834c0191be
5 changes: 0 additions & 5 deletions src/Language/PureScript/Make/ExternsDiff.hs
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,6 @@ externsTypeFixityToRef (P.ExternsTypeFixity _ _ n alias) =
externsDeclarationToRef :: ModuleName -> P.ExternsDeclaration -> Maybe RefWithDeps
externsDeclarationToRef moduleName = \case
P.EDType n t tk
| P.TypeSynonym <- tk ->
-- Type synonyms have two entries in externs: EDType and EDTypeSynonym.
-- Ignore the EDType entry, because later in the code we can't handle duplicate entries with the same Ref.
-- (TODO: is this legit? Will EDTypeSynonym contain all the deps of edTypeKind?)
Nothing
| P.isDictTypeName n -> Nothing
| otherwise -> Just (TypeRef n, typeDeps t <> typeKindDeps tk)
--
Expand Down