ncannasse / hxsl

Haxe Shader Language, a high level 3D shader language for Haxe
86 stars 10 forks source link

Untyped ALL array #23

Closed profelis closed 11 years ago

profelis commented 11 years ago

Now I see this error

C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:308: characters 13-24 : You can't iterate on a Dynamic value, please specify Iterator or Iterable
C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:136: characters 11-15 : hxsl.ShaderGlobals should be { instances : Map<Unknown<0>, Unknown<1>> }
C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:136: characters 11-15 : The field instances is not public
C:\HaxeToolkit\haxe\lib/hxsl/2,0,0/hxsl/Shader.hx:136: characters 11-15 : For function argument 'x'

FIX: static var ALL:Array = new Array();

profelis commented 11 years ago

fixed