BOO-996, BOO-995: Added "then" keyword to replace "else" semantic in looping construc...
[boo.git] / tests / testcases / ducky / method-dispatch-12.boo
bloba8f36971b12f8058edcd17c58c25c2f28197f8a3
1 """
2 bar(int, int, int)
3 bar(single, single, single)
4 bar(single, single, single)
5 bar(single, single, single)
6 """
7 class Foo:
8 def bar(a1 as int, a2 as int, a3 as int):
9 print "bar(int, int, int)"
11 def bar(a1 as single, a2 as single, a3 as single):
12 print "bar(single, single, single)"
14 i as int
15 s as single
17 foo as duck = Foo()
18 foo.bar(i, i, i)
19 foo.bar(i, i, s)
20 foo.bar(i, s, s)
21 foo.bar(s, s, s)