Multiple files and warnings in browser-solidity

chrisethchriseth Member Posts: 170 ✭✭✭
Thanks to d11e9, browser-solidity can now work with multiple files!
If you want to use the contracts from a second file, just use

import "filename";

Note that, however, locations of errors will not be displayed correctly anymore in this case - this will be fixed in a future release.
The files are stored in you browser's localStorage, so keep that in mind when clearing caches or switching browsers.

Furthermore, we can finally report and show warnings! One of them is the eagerly awaited "Uninitialised storage pointer" warning which will hopefully guard you against unexplainable storage corruption in the future (It is referring to this pitfall).
Sign In or Register to comment.