Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Syntax highlighting breaks when declaring lambda

You must be registered to post a reply.
Click here to register.

Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji

Forum code is on.
Html is off.

Check to subscribe to this topic.

T O P I C    R E V I E W
cmartel Posted - Nov 15 2019 : 7:29:23 PM
When declaring a lambda function with an argument passed by reference, but omitting argument names, it seems as though the argument type gets parsed as a variable name instead. This breaks syntax highlighting for that type everywhere in that file.

To clarify, this is what I'm referring to:

If I remove the argument names (i.e.: to avoid unused argument warnings):

Note that this only seems to occur with references--if I change the argument for a value type, it parses correctly:

1   L A T E S T    R E P L I E S    (Newest First)
accord Posted - Nov 17 2019 : 1:30:46 PM
I was able to create simplified test cases and reproduce the problem using your screenshots, thank you:


© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000