Skip to content

Commit

Permalink
#440: ensured that converted operand is returned and fixed UT results…
Browse files Browse the repository at this point in the history
…; added conversion of bool, int, real to string function params
  • Loading branch information
dbenn committed Jul 12, 2024
1 parent 708423d commit f6245bb
Show file tree
Hide file tree
Showing 4 changed files with 467 additions and 468 deletions.
3 changes: 0 additions & 3 deletions src/org/aavso/tools/vstar/vela/FunctionExecutor.java
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ public FunctionExecutor(Optional<String> funcName, Optional<Type> returnType) {
public boolean conforms(List<Operand> actualParameters) {
boolean result = true;

actualParameters = actualParameters.stream().map(op -> op.copy())
.collect(Collectors.toList());

if (parameterTypes == ANY_FORMALS) {
result = true;
} else if (actualParameters.size() != parameterTypes.size()) {
Expand Down
Loading

0 comments on commit f6245bb

Please sign in to comment.