Commit 11e3944a authored by Stefan Behnel's avatar Stefan Behnel

clarify error message

parent 0912e6e8
......@@ -4190,7 +4190,7 @@ class CClassDefNode(ClassDefNode):
else:
self.base_type = base_class_entry.type
if env.directives.get('freelist', 0) > 0:
warning(self.pos, "freelists are not currently supported for subtypes", 1)
warning(self.pos, "freelists cannot be used on subtypes, only the base class can manage them", 1)
has_body = self.body is not None
if self.module_name and self.visibility != 'extern':
......
......@@ -20,5 +20,5 @@ cdef class ExtSubTypeFail(ExtType):
_ERRORS = """
18:5: freelists are not currently supported for subtypes
18:5: freelists cannot be used on subtypes, only the base class can manage them
"""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment