Skip to content

Cascades off by a line in DDC source maps #32329

Open
@vsmenon

Description

@vsmenon

On the throw, the following shows the line with bar in the trace instead of foo.

class A {
  void foo(int t) {
    throw new Exception('Called foo with $t');
  }

  void bar(String s) {
    print('hello $s');
  }
}

void main() {
  new A()
    ..bar('world')
    ..foo(42);
}

@jmesserly

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-web-jsIssues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop.dev-compiler-uxweb-dev-compiler

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions