This isn't an error that is particular to qlik sense but a little more annoying and noticeable in qlik sense as the error is also highlighted by a nice explanation mark next to the section name.
In the example below I am concatenating some text.
The first example is to setup a variable which is fine.
The second example is highlighted as an error but there is no error when the reloaded.
Set con = &'|'&;
//1. NO ERROR HIGHLIGHTED
SET TEST = 'sometext ' $(con) 'somemore text';
//2. HIGHLIGHTED AS AN ERROR BUT RELOADS OK AND DATA MODEL IS FINE.
'sometext ' $(con) 'somemore text' as TEST
I first saw this problem in qlikview when creating generic keys.
Is there a workaround that anyone uses ?
Please see the attachment to see the highlighted 'error'.