Error condition compile error on error type
authorRobert Bradshaw <robertwb@math.washington.edu>
Wed, 13 Feb 2008 01:40:13 +0000 (17:40 -0800)
committerRobert Bradshaw <robertwb@math.washington.edu>
Wed, 13 Feb 2008 01:40:13 +0000 (17:40 -0800)
Cython/Compiler/PyrexTypes.py

index 5aa17d87cfcd6b32833521d6e871f81a85a9b849..92f4d3f53ee18082e744be003ee9b5f3af2f15ae 100644 (file)
@@ -923,6 +923,9 @@ class ErrorType(PyrexType):
     
     def same_as_resolved_type(self, other_type):
         return 1
+        
+    def error_condition(self, result_code):
+        return "dummy"
 
 
 rank_to_type_name = (