jvmTest.org.luaj.vm2.require.RequireSampleClassCastExcep.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of luak Show documentation
Show all versions of luak Show documentation
Multiplatform Kotlin LuaJ port (LUA interpreter)
package org.luaj.vm2.require
import org.luaj.vm2.LuaValue
/**
* This should fail while trying to load via "require() because it is not a LibFunction"
*
*/
class RequireSampleClassCastExcep {
fun call(): LuaValue = LuaValue.valueOf("require-sample-class-cast-excep")
}