[swfinterp] Intepret more multinames
This commit is contained in:
		
							
								
								
									
										10
									
								
								test/swftests/DictCall.as
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								test/swftests/DictCall.as
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,10 @@
 | 
			
		||||
// input: [{"x": 1, "y": 2}]
 | 
			
		||||
// output: 3
 | 
			
		||||
 | 
			
		||||
package {
 | 
			
		||||
public class DictCall {
 | 
			
		||||
    public static function main(d:Object):int{
 | 
			
		||||
    	return d.x + d.y;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user