summaryrefslogtreecommitdiff
path: root/platform_methods.py
diff options
context:
space:
mode:
authorThomas ten Cate <ttencate@gmail.com>2018-11-16 10:46:05 +0100
committerThomas ten Cate <ttencate@gmail.com>2018-11-16 10:46:05 +0100
commit4a530433d4054c504c1c8255b7156774ad0b9dd8 (patch)
treed1c07396d222ef7a7f7f69fd61f3ef69958ef59d /platform_methods.py
parent26d33d1c6eedf9271bac20a24ea37453c21ef890 (diff)
Prevent unused_argument warning when passing arg to parent constructor
This requires creating the FunctionNode object a bit sooner, and setting it as the current_function while parsing the parent constructor call arguments. Note that the return type has not yet been parsed at this point, but that doesn't seem to be a problem. Fixes #22139
Diffstat (limited to 'platform_methods.py')
0 files changed, 0 insertions, 0 deletions