Skip to content

Commit

Permalink
Revert wrong parts of 6bd16e4.
Browse files Browse the repository at this point in the history
whitequark committed Feb 27, 2016
1 parent 313a696 commit 63e0c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/test/lit/inferencer/error_with_self.py
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ def __exit__(self, n1, n2, n3):
def foo():
contextmgr.__enter__(1)
# CHECK-L: ${LINE:+3}: error: cannot unify <instance contextmgr> with int(width='a) while inferring the type for self argument
# CHECK-L: ${LINE:+2}: note: expression of type <instance contextmgr>
# CHECK-L: ${LINE:+2}: note: expression of type <instance contextmgr {}>
# CHECK-L: ${LINE:+1}: note: reference to an instance with a method '__enter__(self:int(width='a))->NoneType delay('b)'
with contextmgr():
pass

0 comments on commit 63e0c7c

Please sign in to comment.