Fix for KT-10047: java.lang.VerifyError: Bad return type

#KT-10047 Fixed
This commit is contained in:
Michael Bogdanov
2015-11-30 17:21:36 +03:00
parent 54addb4b1e
commit df1641ff9b
4 changed files with 43 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
package test
open class Actor
abstract public class O2dScriptAction<T : Actor> {
protected var owner: T? = null
private set
protected fun calc(): T? = null
}