~ubuntu-branches/ubuntu/raring/vala-0.20/raring-proposed

« back to all changes in this revision

Viewing changes to tests/objects/bug663134.vala

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-04-05 13:45:05 UTC
  • Revision ID: package-import@ubuntu.com-20130405134505-yyk3rec9904i7p8o
Tags: upstream-0.20.1
ImportĀ upstreamĀ versionĀ 0.20.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
public class Foo<T> {
 
2
        public void bar () {
 
3
                T baz = null;
 
4
                SourceFunc f = () => {
 
5
                        baz = null;
 
6
                        SourceFunc ff = () => {
 
7
                                baz = null;
 
8
                                return false;
 
9
                        };
 
10
                        ff ();
 
11
                        return false;
 
12
                };
 
13
                f ();
 
14
        }
 
15
}
 
16
 
 
17
void main () {
 
18
        var foo = new Foo<string> ();
 
19
        foo.bar ();
 
20
}