Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
plugins
/
groovy
/
testdata
/
highlighting
/
lambda
/
FromStringResolveDefaultPackageGeneric.groovy
blob: 4542ce5a88c6dc2e43a075b3c6761572937090b0 [
file
]
import
com
.
foo
.
baz
.
A
import
groovy
.
transform
.
CompileStatic
@CompileStatic
class
Usage
{
def
foo
()
{
new
A
<
Integer
>().
bar
(<
error descr
=
"Expected 'MyClass<java.lang.Integer>', found 'MyClass<java.lang.String>'"
>
MyClass
<
String
></
error
>
a
)
->
{
}
}
}