mirror of https://github.com/crytic/slither
parent
6368368658
commit
69ece6da84
@ -0,0 +1,8 @@ |
||||
import {MyContract as MyAliasedContract} from "./MyContract.sol"; |
||||
|
||||
contract Test { |
||||
MyAliasedContract c; |
||||
constructor() { |
||||
c = new MyAliasedContract(); |
||||
} |
||||
} |
@ -0,0 +1,9 @@ |
||||
|
||||
import "./MyContract.sol" as MyAliasedContract; |
||||
|
||||
contract Test { |
||||
MyAliasedContract.MyContract c; |
||||
constructor() { |
||||
c = new MyAliasedContract.MyContract(); |
||||
} |
||||
} |
Binary file not shown.
Binary file not shown.
@ -0,0 +1,6 @@ |
||||
{ |
||||
"MyContract": {}, |
||||
"Test": { |
||||
"constructor()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n" |
||||
} |
||||
} |
@ -0,0 +1,6 @@ |
||||
{ |
||||
"MyContract": {}, |
||||
"Test": { |
||||
"constructor()": "digraph{\n0[label=\"Node Type: ENTRY_POINT 0\n\"];\n0->1;\n1[label=\"Node Type: EXPRESSION 1\n\"];\n}\n" |
||||
} |
||||
} |
Loading…
Reference in new issue