Out variables or return args


I have this method signature (; WayPoint waypoint)

When I try the following code:
foo(; !waypoint)

The compiler complains, it tells me that waypoint is not in the correct scope. However, if I format my code like this:
foo(; waypoint)

It works fine. I thought that the above style was allowable, am I wrong?


Also hit this last week and reported it. It sounds like it is meant to work, so I’m guessing it’s a bug.


Same here, but my setup was a bit different. Seems there’s a small bug with variable scoping.


I’ll look into this. It should work as you tried it.