Open Bug 1290624 Opened 4 years ago Updated 2 years ago

Can't use @imports on function-in-functions

Categories

(Firefox Build System :: General, defect)

defect
Not set

Tracking

(Not tracked)

People

(Reporter: glandium, Unassigned)

References

(Blocks 1 open bug)

Details

Something like:

@template
def foo():
    @imports('ctypes')
    def bar():
        log.warning(ctypes)

    bar()

fails.
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.