Fix way how function table is built. Allows to extend Exception class. (#210)

This commit is contained in:
Nikolay Igotti
2017-02-01 15:43:28 +03:00
committed by GitHub
parent 06c703f840
commit 6192dc254a
3 changed files with 21 additions and 3 deletions
@@ -0,0 +1,9 @@
class C : Exception("OK")
fun main(args: Array<String>) {
try {
throw C()
} catch (e: Throwable) {
println(e.message!!)
}
}