[Webkit-unassigned] [Bug 252213] New: [WGSL] Fix line number reporting in errors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Feb 13 16:40:13 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=252213

            Bug ID: 252213
           Summary: [WGSL] Fix line number reporting in errors
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebGPU
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: djg at apple.com

Text editors use one-based line numbering, not zero.  When setting source
code to be tokenized, set the current position to offset of 0 on line 1. This
allows a position with m_line set to 0 to represent and empty or invalid
position.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230214/4ecbfb7c/attachment.htm>


More information about the webkit-unassigned mailing list