pervognsen / bitwise

Bitwise is an educational project where we create the software/hardware stack for a computer from scratch.
Other
5.13k stars 213 forks source link

types cannot be referred by qualified name, when functions can #69

Closed uucidl closed 6 years ago

uucidl commented 6 years ago
import .module {PairOfInts}

func test_import_types()
{
  // This triggers:
  // bugs/import_types.ion(5): error: Expected token ;, got .
  // a : module.PairOfInts;
  a : PairOfInts; // this works
  #assert(module.PairOfInts_equals(a, a));
}
uucidl commented 6 years ago

Has been fixed with a1feab813fadf63e7a7bb6275683617d0c77bced