-
-
Notifications
You must be signed in to change notification settings - Fork 753
fix problems that prevent implementing import shadowing protection #3989
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -283,7 +283,7 @@ final class ZipArchive | |
| import std.bitmanip : littleEndianToNative, nativeToLittleEndian; | ||
| import std.algorithm : max; | ||
| import std.conv : to; | ||
| import std.zlib : compress; | ||
| static import std.zlib; | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The later use of
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. But std is definitely available here by some of the non-selective imports. |
||
| import std.datetime : DosFileTime; | ||
|
|
||
| string comment; /// Read/Write: the archive comment. Must be less than 65536 bytes in length. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This code relied on
import core.sys.posix.signal;hiding the upscopekill().