Bug 186070 - [WSL] Correctly parse nested generics
Summary: [WSL] Correctly parse nested generics
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebGPU (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
Depends on:
Blocks: 176199
  Show dependency treegraph
Reported: 2018-05-29 16:22 PDT by Robin Morisset
Modified: 2018-10-13 15:55 PDT (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Robin Morisset 2018-05-29 16:22:54 PDT
Test<Test<int> > f() {
    Test<Test<int> > result;
    return result;
is correctly parsed, but removing either of the spaces between the '>' characters cause a parsing failure.
There is code in the parser that tries to deal with the '>>' at the end of a list of template arguments or parameters, but it does not seem to work.
Comment 1 Myles C. Maxfield 2018-08-29 17:15:03 PDT
We removed generics.
Comment 2 Myles C. Maxfield 2018-10-13 15:55:52 PDT
Migrated to https://github.com/gpuweb/WHLSL/issues/120