blob: 2b107e4dd08c53e6df2f83150ee358ebfdcd0aba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
class Foo {
Foo field;
void test() {}
}
public aspect pr107858 {
void around() : call(void Foo.test()) {
Foo foo = new Foo().field;
proceed(foo); // caught at compile time
proceed(new Foo().field); // crashes
}
}
|