We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6042a51 commit 3305788Copy full SHA for 3305788
1 file changed
lib/include/pl/core/parser_manager.hpp
@@ -36,8 +36,8 @@ namespace pl::core {
36
37
void reset() {
38
this->m_onceIncluded.clear();
39
- for (const auto &[_, types] : this->m_parsedTypes) {
40
- for (const auto &[_, type] : types) {
+ for (const auto &[onceIncludePair, types] : this->m_parsedTypes) {
+ for (const auto &[typeName, type] : types) {
41
if (type != nullptr && type->isValid()) {
42
if (auto builtinType = dynamic_cast<ast::ASTNodeBuiltinType*>(type->getType().get()); builtinType != nullptr) {
43
if (builtinType->getType() != Token::ValueType::CustomType) {
0 commit comments