Open apblack opened 7 years ago
A program like
import "random" as random print(random.integerFrom 1 to 6)
generates a NoSuchMethod error on line 3: no method integerFrom(_)to(_) on the "random" module.
no method integerFrom(_)to(_) on the "random" module
It would be more helpful if it generates a static error at compile time. Minigrace reads the gct for random, and knows what methods it has.
A program like
generates a NoSuchMethod error on line 3:
no method integerFrom(_)to(_) on the "random" module
.It would be more helpful if it generates a static error at compile time. Minigrace reads the gct for random, and knows what methods it has.