mirror of
https://codeberg.org/ProgramSnail/lang_2023.git
synced 2026-01-25 13:07:13 +00:00
new compiler options in CMakeLists, fixes
This commit is contained in:
parent
9b3d2812ba
commit
17328b842c
11 changed files with 62 additions and 60 deletions
|
|
@ -62,7 +62,7 @@ public:
|
|||
utils::IdType type,
|
||||
utils::ClassModifier class_modifier,
|
||||
TypeManager* type_manager)
|
||||
: type_id_(type_id), type_(type), type_manager_(type_manager) {}
|
||||
: type_id_(type_id), type_(type), class_modifier_(class_modifier), type_manager_(type_manager) {}
|
||||
|
||||
std::optional<utils::IdType> InContext(const std::unordered_map<std::string, utils::IdType>& context);
|
||||
bool Same(const DefinedType& type) const;
|
||||
|
|
@ -177,7 +177,7 @@ public:
|
|||
return constructors_;
|
||||
}
|
||||
|
||||
const void SetCurrentConstructor(size_t constructor) {
|
||||
void SetCurrentConstructor(size_t constructor) {
|
||||
current_constructor_ = constructor;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue