Closed mogura0529 closed 4 weeks ago
This is causing a CORS error. It looks like the specific string that triggers it is .."
occurring anywhere in the code submission.
For example, this will work (note the ..
in the second line):
List<int> xs = [1, 2, 3, 4, 5];
Console.WriteLine(xs[2..].Count);
But this will trigger the error:
List<int> xs = [1, 2, 3, 4, 5];
// .."
Console.WriteLine(xs[2..].Count);
This is now fixed. Thanks for opening this issue @mogura0529!
Describe the bug
Please provide as much information as you can. If Console.Write or comment contains a code with two or more consecutive periods, the value will not be output correctly.
Did this error occur while using
dotnet try
or online?dotnet-try
What kind of error was it?
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following: