We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bf87b3 commit e986ad6Copy full SHA for e986ad6
server/src/incrementalCompilation.ts
@@ -677,8 +677,13 @@ async function compileContents(
677
.filter((d) => {
678
if (
679
!d.message.startsWith("Uninterpreted extension 'rescript.") &&
680
- !d.message.includes(
681
- `/${INCREMENTAL_FOLDER_NAME}/${entry.file.sourceFileName}`
+ (
+ !d.message.includes(
682
+ `/${INCREMENTAL_FOLDER_NAME}/${entry.file.sourceFileName}`
683
+ ) ||
684
+ // The `Multiple definition of the <kind> name <name>` type error's
685
+ // message includes the filepath with LOC of the duplicate definition
686
+ d.message.includes("Multiple definition of the")
687
)
688
) {
689
hasIgnoredErrorMessages = true;
0 commit comments