strange incorrect behaviour dependent on presence of a comment doing string operation on attached fsx
ac7bug.fsx.txt
file.
Steps to reproduce
If you select and evaluate the whole attached fsx.txt file, the string [] data has an empty string as its penultimate value.
If you ignore the comment and only evaluate from line 48, the expected array is made, without the empty string entry. Using triple quotes on the input avoids the error, but I think single quotes are legal too?
The whole file with comment and single quotes evaluates correctly in Rider.
Machine infos
Operating system: Windows_NT
Arch: x64
VSCode: 1.25.0
MSBuild version:
Microsoft (R) Build Engine version 15.5.180.51428 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Problem
strange incorrect behaviour dependent on presence of a comment doing string operation on attached fsx ac7bug.fsx.txt file.
Steps to reproduce
If you select and evaluate the whole attached fsx.txt file, the string [] data has an empty string as its penultimate value.
If you ignore the comment and only evaluate from line 48, the expected array is made, without the empty string entry. Using triple quotes on the input avoids the error, but I think single quotes are legal too?
The whole file with comment and single quotes evaluates correctly in Rider.
Machine infos