bilibili / gengine

Other
1.95k stars 272 forks source link

能支持for循环么? #24

Open wenruigao opened 3 years ago

rencalo770 commented 3 years ago

最新版支持

kuaikuai commented 2 years ago

版本号?

rencalo770 commented 2 years ago

v1.5.7

xianfuxing commented 2 years ago

我用 for i=0;i<10;i++ {} 报错:no viable alternative at input 'i+'

xianfuxing commented 2 years ago

补充:看到test 例子了 https://github.com/bilibili/gengine/blob/v1.5.7/test/for_range_test.go 要 i=i+1 才生效