[Mercury Feature request] Please add Reference returns to the language

Syntax:

Public Function ReturnsRef() as ByRef String
    Dim a As String = "ABCD"
    Return a
End Function

We already do that for C#, so should be a formality to enable the same for Mercury as well. :+1:t3:
tracked as bugs://84162: Mercury: ByRef return values

1 Like