Skip to content

Comments

Fix no_Throwable test so it doesn't import druntime's object.d#7883

Merged
dlang-bot merged 1 commit intodlang:masterfrom
JinShil:dflags_for_tests
Feb 13, 2018
Merged

Fix no_Throwable test so it doesn't import druntime's object.d#7883
dlang-bot merged 1 commit intodlang:masterfrom
JinShil:dflags_for_tests

Conversation

@JinShil
Copy link
Contributor

@JinShil JinShil commented Feb 13, 2018

Now that #7845 is merged, we can properly create tests that don't automatically import druntime.

The no_Throwable test, added in #7786, also should clear DFLAGS to prevent druntime's object.d from being imported. This PR doesn't change the behavior of the test, as DMD, by chance, imported the correct object.d anyway, but this PR does make the desired behavior more explicit to avoid the potential for a false positive.

@dlang-bot
Copy link
Contributor

Thanks for your pull request, @JinShil!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

@JinShil JinShil added Review:Trivial typos, formatting, comments Review:Easy Review labels Feb 13, 2018
@dlang-bot dlang-bot merged commit f29a626 into dlang:master Feb 13, 2018
@JinShil JinShil deleted the dflags_for_tests branch April 24, 2018 10:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants