[bug/feature] impossible detect `&` in staticlookup
See original GitHub issueInput:
$var = &self::getElementByPath();
I think parent
and static
also affected.
Issue Analytics
- State:
- Created 5 years ago
- Comments:22 (10 by maintainers)
Top Results From Across the Web
[feature] Convert silent mode to a property · Issue #195 · glayzzle ...
Same idea as parenthesizedExpression, use a new property that replace the silent node with a silent property (true/undefined) in order to reprensent the ......
Read more >Why use <T::Lookup as StaticLookup>::Source instead of plain T
StaticLookup is an abstraction over an address which can convert multiple different address types into an underlying AccountId.
Read more >StaticLookup in sp_runtime::traits - Rust - sc_service
Means of changing one type into another in a manner dependent on the source type. This variant is different to `Lookup` in that...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ichiriac what about
$var = &(SOMETHING);?
Which node will havebyref
? It is introduce new problems, all parsers for php storebyRef
on assign node (only for this https://github.com/php/php-src/blob/php-7.4.0beta4/Zend/zend_language_parser.y#L886 scenario), we should keepbyRef
on variable for arguments/array/etc. only if=
and&
together we should keepbyRef
onassign
node@ichiriac hi, I will try to find the time for this in near future (hope this week)