fixes, internal type is now abstract type

This commit is contained in:
ProgramSnail 2023-05-22 10:58:50 +03:00
parent 0290b5604a
commit 3af0772da6
7 changed files with 148 additions and 89 deletions

View file

@ -54,7 +54,7 @@ public:
}
std::string ToString() {
return "Abstract";
return "Abstract " + name_;
}
private:
utils::AbstractTypeModifier modifier_;
@ -101,6 +101,7 @@ private:
TypeManager* type_manager_ = nullptr;
};
const size_t InternalTypesCount = 6;
enum class InternalType {
Float = 0,
Int = 1,