- // "byte" is an alias for "uint8". Construct a Named_object which
- // points to UINT8_TYPE. Note that this breaks the normal pairing
- // in which a Named_object points to a Named_type which points back
- // to the same Named_object.
- Named_object* byte_type = this->declare_type("byte", loc);
- byte_type->set_type_value(uint8_type);
- uint8_type->integer_type()->set_is_byte();
-
- // "rune" is an alias for "int".
- Named_object* rune_type = this->declare_type("rune", loc);
- rune_type->set_type_value(int_type);
- int_type->integer_type()->set_is_rune();
-