Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 Syntax highlighting breaks when declaring lambda
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

New Member

4 Posts

Posted - Nov 15 2019 :  7:29:23 PM  Show Profile  Reply with Quote
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:

Edited by - cmartel on Nov 15 2019 7:31:11 PM

Whole Tomato Software

United Kingdom
3281 Posts

Posted - Nov 17 2019 :  1:30:46 PM  Show Profile  Reply with Quote
I was able to create simplified test cases and reproduce the problem using your screenshots, thank you:


Edited by - accord on Nov 17 2019 3:49:03 PM
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2021 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000