Skip to content

Commit 0fc2cd4

Browse files
committed
[Import as member] Amend proposal to clarify opt-in of inference
1 parent 8426e5d commit 0fc2cd4

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

proposals/0044-import-as-member.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,12 @@ The inference system analyzes C global names and types, attempting to find an
131131
imported Swift type to extend with a method, initializer, or property from this
132132
global.
133133

134-
This inference system's goal for the is to be able to automatically handle the
135-
majority of global variables and functions in CF-style frameworks, and in the
136-
future be extensible to benefit other well structured, disciplined APIs.
134+
This inference system's goal is to be able to automatically handle the majority
135+
of global variables and functions in CF-style frameworks, and in the future be
136+
extensible to benefit other well structured, disciplined APIs.
137+
138+
*Amendment:* Automatic inference will not be used by default for all C
139+
APIs, but will be opt-in.
137140

138141
### Maps directly onto C calling convention
139142

0 commit comments

Comments
 (0)