Open guotie opened 1 year ago
Currently, we cannot import const from another module, because const is internal.
But sometime we need import const from another module/modules.
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;
🚀 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
b.move