eunice9 / jiglibflash

Automatically exported from code.google.com/p/jiglibflash
0 stars 0 forks source link

warning 1008: variable 'i' has no type declaration. PhysicsSystem line 386 #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. compile with flex

Please provide any additional information below.
got 1 warning "1008: variable 'i' has no type declaration.      jiglib  line 386"

in jiglib.physics.PhysicsSystem

for(var i=0; i<collision.PointInfo.length; i++)

suppose to be
for(var i:uint=0; i<collision.PointInfo.length; i++)

even can be faster with
var length:uint = collision.PointInfo.length;
for(var i:uint=0; i<length; i++)

more info about "length is out" loop test here
http://businessintelligence.me/projects/performance_tester/performanceTester.htm
l

Original issue reported on code.google.com by katopz on 13 Jan 2009 at 9:42

GoogleCodeExporter commented 9 years ago

Original comment by muzerly on 14 Jan 2009 at 8:42

GoogleCodeExporter commented 9 years ago
its a search index problem 

Original comment by chipsond...@gmail.com on 29 Jul 2012 at 6:28