vtereshkov / umka-lang

Umka: a statically typed embeddable scripting language
BSD 2-Clause "Simplified" License
1.05k stars 53 forks source link

Cannot declare a forward type with the same name as an imported module #380

Closed vtereshkov closed 5 months ago

vtereshkov commented 5 months ago
import "std.um"

type std = struct {
        children: []std  // Unknown identifier std
}

fn main() { 
}