Skip to content

Commit c94d41b

Browse files
authored
Export is considered default when the name is "default" (#351)
1 parent d75e4d1 commit c94d41b

File tree

1 file changed

+1
-1
lines changed
  • jacodb-ets/src/main/kotlin/org/jacodb/ets/model

1 file changed

+1
-1
lines changed

jacodb-ets/src/main/kotlin/org/jacodb/ets/model/Export.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ data class EtsExportInfo(
6161
// For direct exports:
6262
// export default value
6363
// export { value as default }
64-
return super.isDefault
64+
return name == "default" || super.isDefault
6565
}
6666

6767
/**

0 commit comments

Comments
 (0)