mirror of
https://github.com/RoBaertschi/tt.git
synced 2025-04-16 05:53:30 +00:00
begin with typechecker improvement
This commit is contained in:
parent
9fe5f322a1
commit
62c1e46e17
0
typechecker/check.go
Normal file
0
typechecker/check.go
Normal file
@ -36,7 +36,7 @@ func (c *Checker) CheckProgram(program *ast.Program) (*tast.Program, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if !c.foundMain {
|
if !c.foundMain {
|
||||||
// TODO: Add support for libraries
|
// TODO(Robin): Add support for libraries
|
||||||
errs = append(errs, errors.New("no function called 'main' found"))
|
errs = append(errs, errors.New("no function called 'main' found"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user