merklejerk / solpp

A solidity preprocessor and flattener CLI and library
Apache License 2.0
112 stars 14 forks source link

Process all imports #11

Open adjicf opened 3 years ago

adjicf commented 3 years ago

It is possible to flatten imports like: import {XXX} from "XXX.sol"; ?

dorothy-zbornak commented 3 years ago

Nope, has to be naked imports.

adjicf commented 3 years ago

Any reason for that ?

dorothy-zbornak commented 3 years ago

Because it's tricky to pull out just the imported definitions (and ideally natspec) from a file along with its dependencies.