File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
synthesized-accessors/two-modules Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ import StdlibUnittest
16
16
var testSuite = TestSuite ( " ObjectiveCClosureEscape " )
17
17
18
18
19
- public func couldActuallyEscape( _ closure: @escaping ( ) -> ( ) , _ villian : DangerousEscaper ) {
20
- villian . mightBeNaughty ( closure)
19
+ public func couldActuallyEscape( _ closure: @escaping ( ) -> ( ) , _ villain : DangerousEscaper ) {
20
+ villain . mightBeNaughty ( closure)
21
21
}
22
22
23
23
class Harmless : DangerousEscaper {
Original file line number Diff line number Diff line change 34
34
35
35
public func launchToday( fc: FinalCountdown ) {
36
36
// Check if the setter is not transparent and therefore does not try to
37
- // reference the hidden offet variable symbol in the module.
37
+ // reference the hidden offset variable symbol in the module.
38
38
fc. count = 27
39
39
}
40
40
You can’t perform that action at this time.
0 commit comments