Skip to content

Commit 63e0c7c

Browse files
author
whitequark
committedFeb 27, 2016
Revert wrong parts of 6bd16e4.
1 parent 313a696 commit 63e0c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎artiq/test/lit/inferencer/error_with_self.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def __exit__(self, n1, n2, n3):
1111
def foo():
1212
contextmgr.__enter__(1)
1313
# CHECK-L: ${LINE:+3}: error: cannot unify <instance contextmgr> with int(width='a) while inferring the type for self argument
14-
# CHECK-L: ${LINE:+2}: note: expression of type <instance contextmgr>
14+
# CHECK-L: ${LINE:+2}: note: expression of type <instance contextmgr {}>
1515
# CHECK-L: ${LINE:+1}: note: reference to an instance with a method '__enter__(self:int(width='a))->NoneType delay('b)'
1616
with contextmgr():
1717
pass

0 commit comments

Comments
 (0)
Please sign in to comment.