From 63e0c7c07c006ca877cb1ad6f1c89127063cb13c Mon Sep 17 00:00:00 2001 From: whitequark Date: Sat, 27 Feb 2016 13:15:49 +0000 Subject: [PATCH] Revert wrong parts of 6bd16e44. --- artiq/test/lit/inferencer/error_with_self.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/test/lit/inferencer/error_with_self.py b/artiq/test/lit/inferencer/error_with_self.py index 1bf087c26..afe53e531 100644 --- a/artiq/test/lit/inferencer/error_with_self.py +++ b/artiq/test/lit/inferencer/error_with_self.py @@ -11,7 +11,7 @@ class contextmgr: def foo(): contextmgr.__enter__(1) # CHECK-L: ${LINE:+3}: error: cannot unify with int(width='a) while inferring the type for self argument - # CHECK-L: ${LINE:+2}: note: expression of type + # CHECK-L: ${LINE:+2}: note: expression of type # CHECK-L: ${LINE:+1}: note: reference to an instance with a method '__enter__(self:int(width='a))->NoneType delay('b)' with contextmgr(): pass