class Foo
def bar(out value as int)
value = 1
class Program
def main is shared
foo = Foo()
foo.bar(out v)
print v
gives:
- Code: Select all
main.cobra(2): error: main.cobra(2,10): error: Expecting ID, but got "out" instead.
Compilation failed - 1 error, 0 warnings
Not running due to errors above.
EDIT:
found at ~/Tests/200-misc/400-arguments/
argumentName as out ArgumentType