Files
tinygo/compiler
Ayke van Laethem a4fa41b49d compiler: don't crash when encountering types.Invalid
This commit fixes a crash when trying to compile the following (invalid)
code:

    package main

    import "unsafe"

    func main() {
    }

    type Foo struct {
       x DoesNotExist
    }

    const foo = unsafe.Sizeof(Foo{})

This commit fixes this situation. The result is a regular error message,
indicating that DoesNotExist is not defined.
2019-12-30 13:40:37 +01:00
..
2019-09-22 17:58:00 +02:00
2019-11-04 11:45:35 +01:00
2019-11-04 11:45:35 +01:00
2019-09-18 20:15:17 +02:00
2019-12-29 10:48:28 +01:00