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
Various with statics and PreErrorChecking
[boo.git]
/
tests
/
testcases
/
warnings
/
BCW0013-3.boo
blob
37f1b136b01e62038935cd1b2f482c8a4b475c7b
1
"""
2
BCW0013-3.boo(6,29): BCW0013: WARNING: 'green' on static type 'Foo' is redundantly marked static. All members of static types are automatically assumed to be static.
3
"""
4
class
Test
:
5
static class
Foo
:
6
public static final
green
= -
4
7
8
private static def
DoTheTest
():
9
print
Foo
.
green
10
11
def
Bar
():
12
DoTheTest
()