changeset 141:63c8b9645058

Range analysis: bug-fix in error message
author Sigurd Meldgaard <stm@daimi.au.dk>
date Mon, 09 Nov 2009 10:48:21 +0100
parents eb3a88a91f74
children 4e35d7cf4fe8
files pysmcl/range_analysis.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pysmcl/range_analysis.py	Mon Nov 09 10:10:49 2009 +0100
+++ b/pysmcl/range_analysis.py	Mon Nov 09 10:48:21 2009 +0100
@@ -128,7 +128,7 @@
                 return env
 
             def generic_visit(self, node):
-                assert False, "Not implemented: "+str(node.type)
+                assert False, "Not implemented: "+str(type(node))
 
         r = Visitor(self.prime).visit(node)
         if debug: