Skip to content

Commit 03dd34b

Browse files
committed
Don't filter out module-related type errors
1 parent e39488b commit 03dd34b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

server/src/incrementalCompilation.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,12 @@ async function compileContents(
683683
) ||
684684
// The `Multiple definition of the <kind> name <name>` type error's
685685
// message includes the filepath with LOC of the duplicate definition
686-
d.message.includes("Multiple definition of the")
686+
d.message.startsWith("Multiple definition of the") ||
687+
// The signature mismatch, with mismatch and ill typed applicative functor
688+
// type errors all include the filepath with LOC
689+
d.message.startsWith("Signature mismatch") ||
690+
d.message.startsWith("In this `with' constraint") ||
691+
d.message.startsWith("This `with' constraint on")
687692
)
688693
) {
689694
hasIgnoredErrorMessages = true;

0 commit comments

Comments
 (0)