If GcCompatibilityMode is set, printing of types is modified to match the representation of some types in the gc compiler:

- byte and rune lose their alias name and simply stand for
  uint8 and int32 respectively
- embedded interfaces get flattened (the embedding info is lost,
  and certain recursive interface types cannot be printed anymore)

This makes it easier to compare packages computed with the type- checker vs packages imported from gc export data.

Caution: This flag affects all uses of WriteType, globally. It is only provided for testing in conjunction with gc-generated data. It may be removed at any time.

GcCompatibilityMode is referenced in 0 repositories