Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Cython / tests / errors / w_undeclared.pyx
Size: Mime:
# cython: warn.undeclared=True
# mode: error
# tag: werror

def foo():
    a = 1
    return a

cdef class Bar:
    cdef int baz(self, a):
        res = 0
        for i in range(3):
            res += i
        return res

_ERRORS = """
6:4: implicit declaration of 'a'
11:8: implicit declaration of 'res'
12:12: implicit declaration of 'i'
"""