You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below example passed in 1.13.x, fails in 1.14.x:
function hello<T>(t : T) : T{ return null }
function foo1() {
var bar: ArrayList<Integer> = hello(new ArrayList( )) // Reverse type inference: new ArrayList() ==> new ArrayList<Integer>() from context for the type param T
}
See FIXME tags in gosu-test/src/test/gosu/gw/specContrib/typeinference/GenericResultToParameter.gs and gosu-test/src/test/gosu/gw/specContrib/typeinference/Errant_DiamondInference.gs
This maps to Guidewire IDE-4166
The text was updated successfully, but these errors were encountered:
The below example passed in 1.13.x, fails in 1.14.x:
See FIXME tags in
gosu-test/src/test/gosu/gw/specContrib/typeinference/GenericResultToParameter.gs
andgosu-test/src/test/gosu/gw/specContrib/typeinference/Errant_DiamondInference.gs
This maps to Guidewire IDE-4166
The text was updated successfully, but these errors were encountered: