-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove warning that package is empty (#1159)
Closes #1153 ### Summary of Changes Remove the warning that an imported package is empty. It was always shown together with an error that a package did not exist. Now, only the error is shown.
- Loading branch information
1 parent
07623fc
commit b13c5df
Showing
4 changed files
with
9 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 3 additions & 10 deletions
13
packages/safe-ds-lang/tests/resources/validation/other/imports/main with issues.sdsdev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,8 @@ | ||
package tests.other.imports | ||
|
||
// $TEST$ error "The package 'tests.other.imports.missing' does not exist." | ||
// $TEST$ error "The package 'tests.other.imports.missing' is empty." | ||
from »tests.other.imports.missing« import * | ||
// $TEST$ error "The package 'tests.other.imports.missing' does not exist." | ||
// $TEST$ error "The package 'tests.other.imports.missing' is empty." | ||
from »tests.other.imports.missing« import C | ||
// $TEST$ error "The package 'tests.other.imports.missing' does not exist." | ||
// $TEST$ error "The package 'tests.other.imports.missing' is empty." | ||
from »tests.other.imports.missing« import C as D | ||
|
||
// $TEST$ warning "The package 'tests.other.imports.empty' is empty." | ||
from »tests.other.imports.empty« import * | ||
// $TEST$ warning "The package 'tests.other.imports.empty' is empty." | ||
from »tests.other.imports.empty« import C | ||
// $TEST$ warning "The package 'tests.other.imports.empty' is empty." | ||
from »tests.other.imports.empty« import C as D |
3 changes: 1 addition & 2 deletions
3
packages/safe-ds-lang/tests/resources/validation/other/imports/main without issues.sdsdev
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters