Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

parser: cannot set object property #37

Closed
@vojtajina

Description

@vojtajina

I'm pretty sure this used to work.

class A {
  B b;
  A(B this.b);
}

class B {
  String c;
  B(String this.c);
}

scope['a'] = new A(new B('x'));
parse('a.b.c').assign(scope, 'whatever');
Caught Uncaught exception during mirrored execution: <Class 'A' has no instance method '[]'.

    NoSuchMethodError : method not found: '[]'
    Receiver: Instance of 'A'
    Arguments: ["b"]>
    ORIGINAL STACKTRACE

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions