forked from M-Labs/artiq
lit-test: update to follow IR serialization changes.
This commit is contained in:
parent
9e0a5b9404
commit
3fb12b74d6
|
@ -8,12 +8,12 @@ class c:
|
|||
def m(self):
|
||||
pass
|
||||
|
||||
# CHECK-L: c:<constructor c {a: int(width='a), f: ()->NoneType, m: (self:<instance c>)->NoneType}>
|
||||
# CHECK-L: c:<constructor c {a: int(width='a), f: ()->NoneType delay('b), m: (self:<instance c>)->NoneType delay('c)}>
|
||||
c
|
||||
# CHECK-L: .a:int(width='a)
|
||||
c.a
|
||||
# CHECK-L: .f:()->NoneType
|
||||
# CHECK-L: .f:()->NoneType delay('b)
|
||||
c.f
|
||||
|
||||
# CHECK-L: .m:method(fn=(self:<instance c>)->NoneType, self=<instance c>)
|
||||
# CHECK-L: .m:method(fn=(self:<instance c>)->NoneType delay('c), self=<instance c>)
|
||||
c().m()
|
||||
|
|
|
@ -8,7 +8,7 @@ class c:
|
|||
def g(self):
|
||||
pass
|
||||
|
||||
# CHECK-L: ${LINE:+1}: error: function 'f()->NoneType' of class 'c' cannot accept a self argument
|
||||
# CHECK-L: ${LINE:+1}: error: function 'f()->NoneType delay('a)' of class 'c' cannot accept a self argument
|
||||
c().f()
|
||||
|
||||
c.g(1)
|
||||
|
|
Loading…
Reference in New Issue