File tree Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ set(SWIFTLIB_ESSENTIAL
119119 StringComparable.swift
120120 StringCore.swift
121121 StringHashable.swift
122- StringInterpolation.swift.gyb
122+ StringInterpolation.swift
123123 StringLegacy.swift
124124 StringRangeReplaceableCollection.swift.gyb
125125 StringIndexConversions.swift
Original file line number Diff line number Diff line change 1- //===--- StringInterpolation.swift.gyb - String Interpolation -*- swift -*-===//
1+ //===--- StringInterpolation.swift - String Interpolation ---- -*- swift -*-===//
22//
33// This source file is part of the Swift.org open source project
44//
1010//
1111//===----------------------------------------------------------------------===//
1212
13- % {
14-
15- from SwiftIntTypes import all_integer_types
16-
17- # Number of bits in the Builtin . Word type
18- word_bits = int ( CMAKE_SIZEOF_VOID_P) * 8
19-
20- StreamableTypes = [
21- 'String',
22- 'Character',
23- 'UnicodeScalar',
24- ]
25-
26- PrintableTypes = [
27- 'Bool',
28- 'Float32 ',
29- 'Float64 '
30- ]
31-
32- for int_ty in all_integer_types ( word_bits) :
33- PrintableTypes . append ( int_ty. stdlib_name)
34-
35- } %
36-
3713extension String : _ExpressibleByStringInterpolation {
3814 /// Creates a new string by concatenating the given interpolations.
3915 ///
@@ -98,7 +74,3 @@ extension String : _ExpressibleByStringInterpolation {
9874 self = _toStringReadOnlyStreamable ( expr)
9975 }
10076}
101-
102- // ${'Local Variables'}:
103- // eval: (read-only-mode 1)
104- // End:
You can’t perform that action at this time.
0 commit comments