Last active
November 11, 2018 01:28
-
-
Save isaac-weisberg/11463acb158f7b9adc2df8c4da492e0c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func foo() -> Any { | |
class Bar { | |
let baz: Int | |
init(_ value: Int) { | |
baz = value | |
} | |
} | |
let bar = Bar(3) | |
return bar | |
} | |
let val = foo() | |
// Although, one can not | |
// let baz = foo.baz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment