mirror of
https://github.com/enso-org/enso.git
synced 2024-11-26 17:06:48 +03:00
Make sure import/export resolution does not bring duplicates (#4037)
Component Groups may add additional modules to compilation. This change ensures that whatever modules result from import/export resolution, they are not duplicate. Not only could that lead to unnecessary compilation but also to multiple reports of the same error which would be confusing to users. This fixes https://www.pivotaltracker.com/story/show/184189980 # Important Notes No easy way to write unit tests for this, so skipping that on purpose for now.
This commit is contained in:
parent
0a6e6237cd
commit
74659301e7
@ -256,7 +256,7 @@ class Compiler(
|
||||
} else {
|
||||
modules
|
||||
}
|
||||
}
|
||||
}.distinct
|
||||
|
||||
var hasInvalidModuleRelink = false
|
||||
if (irCachingEnabled) {
|
||||
|
Loading…
Reference in New Issue
Block a user