Last active
January 9, 2017 05:11
-
-
Save zats/51ee043269f7bd302ba0637c730745cc to your computer and use it in GitHub Desktop.
Kill compiler with this one weird trick
This file contains hidden or 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
import UIKit | |
class ViewController: UIViewController { | |
private var a1: Int! | |
private var a2: Int! | |
private var a3: Int! | |
private var a4: Int! | |
private var a5: Int! | |
private var a6: Int! | |
private var a7: Int! | |
private var a8: Int! | |
private var a9: Int! | |
private var a10: Int! | |
private var a11: Int! | |
private var a12: Int! | |
private var a13: Int! | |
private var a14: Int! | |
private var a15: Int! | |
private var aas: [Int?] { | |
return [ | |
a1, | |
a2, | |
a3, | |
a4, | |
a5, | |
a6, | |
a7, | |
// Uncommenting these results in indefinite compilation | |
// a8, | |
// a9, | |
// a10, | |
// a11, | |
// a12, | |
// a13, | |
// a14, | |
// a15, | |
] | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment