From 7c69d63186cc32c9ab67411433d25eda42906594 Mon Sep 17 00:00:00 2001 From: Robert Bradshaw Date: Tue, 12 Feb 2008 17:40:13 -0800 Subject: [PATCH] Error condition compile error on error type --- Cython/Compiler/PyrexTypes.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cython/Compiler/PyrexTypes.py b/Cython/Compiler/PyrexTypes.py index 5aa17d87..92f4d3f5 100644 --- a/Cython/Compiler/PyrexTypes.py +++ b/Cython/Compiler/PyrexTypes.py @@ -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 = ( -- 2.26.2