Bug 358770 - no declarations created for arguments after *
Summary: no declarations created for arguments after *
Status: RESOLVED FIXED
Alias: None
Product: kdev-python
Classification: Developer tools
Component: Language support (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: 1.7.3
Assignee: Sven Brauch
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-30 14:06 UTC by Sven Brauch
Modified: 2016-01-31 00:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Brauch 2016-01-30 14:06:44 UTC
Example code:
def __init__(self, name: str, paths: CheriPaths, *, sourceDir="", buildDir="", installDir: Path=None, gitUrl=""): pass
Comment 1 Sven Brauch 2016-01-31 00:32:27 UTC
Git commit 136d25ec61221a43e53978323e879ccb1b15f66b by Sven Brauch.
Committed on 31/01/2016 at 00:32.
Pushed by brauch into branch '5.0'.

Python 3.5: Implement kwonlyargs

Example syntax: def func(x, y, *kw, a, b): return a
Type inference is not supported yet.

M  +1    -1    duchain/declarationbuilder.cpp
M  +1    -0    duchain/tests/pyduchaintest.cpp
M  +1    -0    parser/ast.h
M  +411  -408  parser/generated.h
M  +1    -1    parser/python35.sdef

http://commits.kde.org/kdev-python/136d25ec61221a43e53978323e879ccb1b15f66b