Print instructions for functions in classes

This commit is contained in:
Andrey Breslav
2013-12-04 16:07:50 +04:00
parent 853ebe3436
commit 5b3bc7f839
5 changed files with 98 additions and 5 deletions
@@ -12,6 +12,18 @@ error:
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
== getArray ==
abstract fun getArray() : Array<Int>
---------------------
L0:
<START>
L1:
<END> NEXT:[<SINK>]
error:
<ERROR> PREV:[]
sink:
<SINK> PREV:[<ERROR>, <END>]
=====================
== test ==
fun test(ab: Ab) {
ab.getArray()[1]