[Feature Request] import const from another module
guotie opened this issue Β· comments
ιε₯ commented
π Feature Request
Currently, we cannot import const from another module, because const is internal.
But sometime we need import const from another module/modules.
Pitch
Describe the solution you'd like
a.move
const BUY: u64 = 1;
const SELL: u64 = 2;
b.move
use mod::a::BUY;
use mod::a::SELL;