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
BOO-999
[boo.git]
/
tests
/
testcases
/
errors
/
BCE0020-1.boo
blob
5d9c6f75a42004548595357548eb244edd1216a3
1
"""
2
BCE0020-1.boo(10,15): BCE0020: An instance of type 'Foo' is required to access non static member 'bar'.
3
BCE0020-1.boo(15,5): BCE0020: An instance of type 'Foo' is required to access non static member 'baz'.
4
"""
5
class
Foo
:
6
7
bar
=
0
8
9
static def
go
():
10
print
bar
11
12
def
baz
():
13
print
bar
14
15
Foo
.
baz
()