We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4a4f7f3 + c4edb10 commit f6e630aCopy full SHA for f6e630a
spec/function.dd
@@ -1837,15 +1837,6 @@ void venus()
1837
}
1838
---
1839
1840
-$(P `inout ref` parameters imply the `return` attribute.)
1841
-
1842
----
1843
-inout(int)* neptune(inout ref int i)
1844
-{
1845
- return &i; // ok
1846
-}
1847
1848
1849
$(H3 $(LNAME2 scope-parameters, Scope Parameters))
1850
1851
$(P A `scope` parameter of reference type must not escape the function call
0 commit comments