Community
Participate
Working Groups
Extracting the marked region from the following code into a separate method 'foo' extension val x = newArrayList // ----8<---- println(size) // ---->8---- will yield a method with compile error as the extension flag is missing on the method parameters: def foo(ArrayList<Object> list) { println(size) // unknown method size }