Commit 3058af54 authored by Stefan Behnel's avatar Stefan Behnel

declare scanner classes final to resolve method calls at compile time

--HG--
extra : transplant_source : %3B%E2%B8%E5%8D%CC%B7p%CA%24%14%C3%D8%B87%A6%0Ej%A8%E8
parent d699d6cc
......@@ -8,6 +8,7 @@ cdef class Method:
cdef object name
cdef object __name__
@cython.final
cdef class CompileTimeScope:
cdef public dict entries
cdef public CompileTimeScope outer
......@@ -15,6 +16,7 @@ cdef class CompileTimeScope:
cdef lookup_here(self, name)
cpdef lookup(self, name)
@cython.final
cdef class PyrexScanner(Scanner):
cdef public context
cdef public list included_files
......
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