c2lang / c2compiler

the c2 programming language
c2lang.org
Apache License 2.0
704 stars 49 forks source link

Using a module as an undeclared variable crashes the parser. #76

Closed lerno closed 5 years ago

lerno commented 5 years ago

Something like

import string local;

func void foo() {
  string++;
}

Will hit an "unreachable" assert.

bvdberg commented 5 years ago

fixed