This fixes breakages from an incoming change to update how DDC represents generic types.
The old code here was manually invoking Dart constructors from JS; this broke when we changed their APIs to accept an RTI. The new scheme evals a top-level object (initialized with the correct state).
This fixes breakages from an incoming change to update how DDC represents generic types.
The old code here was manually invoking Dart constructors from JS; this broke when we changed their APIs to accept an RTI. The new scheme evals a top-level object (initialized with the correct state).
Old breaks: https://github.com/dart-lang/webdev/actions/runs/10285790803/job/28464927549