compiler: add Type::message_name
As we move toward generics, the error messages need to be able to refer to types in a readable manner. Add that capability, and use it today in AST dumps. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/536716
Showing
- gcc/go/gofrontend/MERGE 1 addition, 1 deletiongcc/go/gofrontend/MERGE
- gcc/go/gofrontend/ast-dump.cc 1 addition, 8 deletionsgcc/go/gofrontend/ast-dump.cc
- gcc/go/gofrontend/types.cc 300 additions, 10 deletionsgcc/go/gofrontend/types.cc
- gcc/go/gofrontend/types.h 73 additions, 6 deletionsgcc/go/gofrontend/types.h
Loading
Please register or sign in to comment