📄 bytecodebug.groovy
字号:
/** * @version $Revision: 1.7 $ */class BytecodeBug extends GroovyTestCase { void testTedsBytecodeBug() { //def a = ['tom','dick','harry'] def a = [1, 2, 3, 4] doTest(a) } void doTest(args) { def m = [:] def i = 1 args.each { talk(it) m.put(it, i++) } assert i == 5 m.each { println(it) } } def talk(a) { println("hello "+a) }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -