In Swift 2 this code generates error:
private lazy var _keyGenerationController = KeyGeneration(nibName: "KeyGeneration", bundle: nil)
Removing lazy or explicitly annotating the type suppresses this error:
private var _keyGenerationController = KeyGeneration(nibName: "KeyGeneration", bundle: nil)
or:
private lazy var _keyGenerationController: KeyGeneration = KeyGeneration(nibName: "KeyGeneration", bundle: nil)
What's happening?