Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
GitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Cannot define locals in def in namespace #109
Migrated issue, originally created by Anonymous
Maybe I shouldn't be doing this or I'm doing something wrong BUT I'm trying to define a local variable in a template function that is nested within a namespace. The error goes away if I do not try to define a local variable.
Here is a cooked up example of the offending code:
Here is the resulting traceback:
Philip Jenvey (@pjenvey) wrote:
Here's the compiled version, oddly enough there's 2 add functions