Skip to content

Remove concrete inits from integer types #19624

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

Merged
merged 4 commits into from
Sep 30, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions stdlib/public/SDK/CoreGraphics/CGFloat.swift.gyb
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,6 @@ public struct CGFloat {
self.native = value.native
}

% for src_ty in all_integer_types(word_bits):
@_transparent public init(_ value: ${src_ty.stdlib_name}) {
self.native = NativeType(value)
}

% end

/// The native value.
public var native: NativeType
}
Expand Down
2 changes: 1 addition & 1 deletion stdlib/public/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ set(SWIFTLIB_ESSENTIAL
FixedArray.swift.gyb
FlatMap.swift
Flatten.swift
FloatingPoint.swift.gyb
FloatingPoint.swift
FloatingPointParsing.swift.gyb
FloatingPointTypes.swift.gyb
Hashable.swift
Expand Down
Loading