Skip to content

backward compatibility with string calls and empty e2 return type#3629

Closed
AlexALX wants to merge 2 commits into
wiremod:masterfrom
AlexALX:patch-7
Closed

backward compatibility with string calls and empty e2 return type#3629
AlexALX wants to merge 2 commits into
wiremod:masterfrom
AlexALX:patch-7

Conversation

@AlexALX

@AlexALX AlexALX commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

fix issue mention on #2841 - allow empty (void) return type when not required in non strict mode + fix check in other place, should be OR logic, not AND.

Test code is

@name 
@inputs 
@outputs 
@persist 
@trigger 

function number test() {
    return 1    
}

"test"()

@AlexALX AlexALX changed the title backward compatibility with string calls and empty e2 backward compatibility with string calls and empty e2 return type Jun 16, 2026
@thegrb93

Copy link
Copy Markdown
Contributor

Can you add a test case for this as well?

@thegrb93

Copy link
Copy Markdown
Contributor

In data_static/expression2/tests

@AlexALX

AlexALX commented Jun 16, 2026

Copy link
Copy Markdown
Contributor Author

i'll recreate pull request, since did on old branch

@AlexALX AlexALX closed this Jun 16, 2026
@AlexALX AlexALX deleted the patch-7 branch June 16, 2026 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants