repo.or.cz
/
boo.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Correct resolution of inherited default members on external interfaces
[boo.git]
/
tests
/
testcases
/
errors
/
BCE0127-1.boo
blob
d9bdcd27aff2f4dcda1fb939ba447e4706f82390
1
"""
2
BCE0127-1.boo(9,6): BCE0127: A ref or out argument must be an lvalue: '10'
3
BCE0127-1.boo(9,5): BCE0017: The best overload for the method 'BCE0127-1Module.doit(int)' is not compatible with the argument list '(int)'.
4
"""
5
6
def
doit
(
ref
y
as
int
):
7
y
=
4
8
9
doit
(
10
)
10