solidity-mermaid icon indicating copy to clipboard operation
solidity-mermaid copied to clipboard

Handle `NewExpression`

Open ernestognw opened this issue 2 years ago • 0 comments

Description

The new expression is for instantiating new classes, which means something like:

contract A {
  B b;

  constructor() {
    b = new B();
  }
}

Should be handled with composition

ernestognw avatar Jan 27 '23 06:01 ernestognw