IDE: Visual Studio X/Fire
Version: 10.0.0.2465 (develop)
Target (If relevant): Island(OSX)
Description:
Apple Swift permits the default value for an @autoclosure
argument to be a value of the auto-closure’s result type.
Expected Behavior:
Compiles.
Actual Behavior:
See below.
Steps:
func autocloseString(x: @autoclosure () -> String = "") { } // E62 Type mismatch, cannot assign "String!" to "func () -> RemObjects.Elements.System.Island.String"