You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Copyright 2009 the Sputnik authors. All rights reserved./** * Correct interpretation of single line comments * * @path ch07/7.4/S7.4_A1_T2.js * @description Simple test, create empty comment: /// *///CHECK#1///
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Because a Location was initialised with start and end equal to (12, 0).
I believe the solution to this is modifying the Location constructor to allow the end to be equal to the start (but not precede it). I'll create a PR to reflect that, but I'd appreciate it if anyone can comment on whether the correct behaviour would be that start and end would equal (0, 0).
The text was updated successfully, but these errors were encountered:
Parsing the above file with this parser:
Throws this exception:
Because a Location was initialised with start and end equal to (12, 0).
I believe the solution to this is modifying the
Location
constructor to allow the end to be equal to the start (but not precede it). I'll create a PR to reflect that, but I'd appreciate it if anyone can comment on whether the correct behaviour would be that start and end would equal (0, 0).The text was updated successfully, but these errors were encountered: