Skip to content

Result type "void" is not recognized as specification for subroutines without result (i.e., procedures) #1232

Description

@codemanyak

If the user places "void" als result specification in a subroutine header, then Analyser misinterprets this "void" as a substantial result type (and consequently complains if the diagram does not provide a result value):
Image

This is at least confusing for users accustomed to programming languages like C. "void" as result type should be handled as if there weren't any specified result type.

This also causes defective code export e.g. to Pascal:
Image
(The correct output would have been a "procedure" without result type "void".)

Metadata

Metadata

Assignees

Labels

FixedImplemented (though possibly still not delivered)inconvenient

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions