mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
fixes, internal type is now abstract type
This commit is contained in:
parent
0290b5604a
commit
3af0772da6
7 changed files with 148 additions and 89 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue