|
Groovy example source code file (Groovy4861Bug.groovy)
The Groovy Groovy4861Bug.groovy source codepackage groovy.bugs class Groovy4861Bug extends GroovyTestCase { void testCallSitesUsageInNestedInterface() { assert Foo4861.A.j == 3 assert Foo4861.A.j2 == 7 assert new Foo4861() } } private class Foo4861 { static interface A { static Integer j = 3 static Integer j2 = j + 4 } static interface B{} static class Inner<X> {} static Inner<A> method() { null } } Other Groovy examples (source code examples)Here is a short list of links related to this Groovy Groovy4861Bug.groovy source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2021 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.