:warning: The Truffle Suite is being sunset. For information on ongoing support, migration options and FAQs, visit the Consensys blog. Thank you for all the support over the years.
We prepend export {/*magic*/} to each editor's code so the typechecker doesn't think the code is global and shared between editors. We then hide that first line from the editor... but it can still be reached by backspacing to it, which causes the code samples to fail.
You'll have to try it to figure out what I mean.
We prepend
export {/*magic*/}
to each editor's code so the typechecker doesn't think the code is global and shared between editors. We then hide that first line from the editor... but it can still be reached by backspacing to it, which causes the code samples to fail.