GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — Add implicit line continuance for named parameters and splatted collections (experimental feature) by KirkMunro · Pull Request #9614 · PowerShell/PowerShell Conversation
|
|
I must be missing something - but the text: function '-minus' { 'The -minus command was invoked.' } Generates an error: PS [C:\foo> ]> function '-minus' { >> 'The -minus command was invoked.' >> } At line:1 char:9 + function '-minus' { + ~ Missing name after function keyword. At line:1 char:19 + function '-minus' { + ~ Unexpected token '{' in expression or statement. + CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException + FullyQualifiedErrorId : MissingNameAfterKeyword |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Sorry Thomas Lee (@doctordns), that was my mistake. I typed in those sample scripts since they were short, rather than copy/paste them, and in doing so I made a mistake wrapping the function name in quotes. This has been corrected in my original post. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Kirk Munro (@KirkMunro) Could you write an RFC where users that try the feature can give feedback? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Travis Plunk (@TravisEz13): RFC. Also, I added the link to the RFC PR in the description to increase visibility. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Pulling back on this PR for now as the RFC has changed significantly. The new proposal has eliminated any breaking changes. I'll be experimenting with the logic separately to confirm it's not very complex to do and let me try it out in a number of scenarios. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.