You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Created comprehensive test suite (16/16 tests now passing):
* ModuleHelperTests.cpp - Fixed function naming issues
* BuiltInModuleTests.cpp - Built-in module functionality tests
* SymbolContainerTests.cpp - Fixed test isolation and memory management
* compiler/CMakeLists.txt - Compiler test configuration
* compiler/compiler_basic_tests.cpp - Core compiler functionality tests
- Added missing test scripts:
* while_loop_test.vs - While loop functionality validation
* cstyle_for_loop_test.vs - C-style for loop testing
- Core fixes:
* MethodCallExpressionNode.hpp - Fixed method resolution logic
* class.vs - Fixed class test script
- Resolved CMake configuration errors and build issues
- Added robust error handling and resource optimization
- All test failures resolved with improved test isolation
This completes the test infrastructure overhaul and ensures
CI/CD pipeline stability with comprehensive test coverage.
throwstd::runtime_error("Method '" + methodName_ + "' found but cannot be properly resolved in class " + cn);
251
+
}
233
252
} else {
234
253
// This shouldn't happen for script methods, but if it does, throw an error
235
-
throwstd::runtime_error("Found symbol for method '" + methodName_ + "' but it's not a function or method symbol");
254
+
throwstd::runtime_error("Found symbol for method '" + methodName_ + "' but it's not a function or method symbol. Kind: " + std::to_string(static_cast<int>(sym_method->getKind())));
0 commit comments