Fix type issues with struct access

This commit is contained in:
2026-01-27 21:30:50 +11:00
parent 59e273b26e
commit d12036fe70
2 changed files with 2 additions and 1 deletions

View File

@@ -73,6 +73,7 @@ namespace Solstice {
std::string checkNodeReturnType(SolNode i) { std::string checkNodeReturnType(SolNode i) {
switch (i.nodeType) { switch (i.nodeType) {
case SolNodeType::In:
case SolNodeType::Identifier: { case SolNodeType::Identifier: {
if (variables.find(i.outputId) != variables.end()) { if (variables.find(i.outputId) != variables.end()) {
return variables[i.outputId]; return variables[i.outputId];

View File

@@ -8,4 +8,4 @@ puts e
puts dingus puts dingus
puts e.x puts e.x
puts e.y println(e.y)