Skip to content

Fix NameError from forward references of generated Python codes - #146

Merged
dahlia merged 2 commits into
nirum-lang:masterfrom
dahlia:forward-references
Jun 23, 2017
Merged

Fix NameError from forward references of generated Python codes#146
dahlia merged 2 commits into
nirum-lang:masterfrom
dahlia:forward-references

Conversation

@dahlia

@dahlia dahlia commented Jun 22, 2017

Copy link
Copy Markdown
Member

This patch fixes the Python target so that generated Python codes doesn't directly refer forward references but indirectly refer them behind its wrapped lambda. It also requires runtime library's changes; nirum-lang/nirum-python#88 need to be merged first.

@dahlia dahlia added the typ:bug Type: Bug/defect label Jun 22, 2017
@dahlia dahlia self-assigned this Jun 22, 2017
@dahlia
dahlia requested a review from kanghyojun June 22, 2017 15:43
@dahlia
dahlia force-pushed the forward-references branch 2 times, most recently from 14fee95 to 2eeda64 Compare June 22, 2017 20:27
@dahlia
dahlia force-pushed the forward-references branch from 2eeda64 to e9bbff0 Compare June 22, 2017 21:20
@dahlia
dahlia merged commit 8ddabca into nirum-lang:master Jun 23, 2017
@dahlia dahlia added cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python labels Aug 26, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmp:compiler Component: Compiler backend (e.g., annotation processors, code generators) target:python typ:bug Type: Bug/defect

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants