okaymak
02/26/2017, 3:49 PMfun foo(@StringRes bar: Int { ......
But the IDE doesn’t warn me when I pass in an invalid `Int`:
foo(5)
When calling this method from Java, it does work.
As far as I noticed, the same happens with all other variants like @DrawableRes
, @AnimatorRes
, @IntDef
. Using AS 2.3 RC with Kotlin 1.1 RC