repo.or.cz
/
vala-gnome.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Release 0.41.92
[vala-gnome.git]
/
tests
/
asynchronous
/
bug653861.vala
blob
dfe4db09353461ced01e88701dfe770a159b6c03
1
class
Foo
{
2
public
async
void
bar
<
G
> (
G arg
,
Type t
) {
3
assert
(
typeof
(
G
) ==
t
);
4
}
5
}
6
7
void
main
() {
8
var
foo
=
new
Foo
();
9
foo
.
bar
<
string
> (
"foo"
,
typeof
(
string
));
10
}