Refactor: use clar2wasm::compile_contract
in clar2wasm::compile
#354
Labels
code quality
Improving the quality of the code, and dev experience
good first issue
Good for newcomers
Milestone
The Clarinet REPL uses
clar2wasm::compile_contract
in its routine here.However, There is a fix for some bug that was introduced in
clar2wasm::compile
here.Since it was added here, it is not available in the
compile_contract
function.I believe those functions should be refactored so that the fix moves to
compile_contract
(and every future fixes can be added there) andcompile
should usecompile_contract
.The text was updated successfully, but these errors were encountered: