mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 22:55:18 +00:00 
			
		
		
		
	[swfinterp] Add support for void methods
This commit is contained in:
		
							
								
								
									
										22
									
								
								test/swftests/PrivateVoidCall.as
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								test/swftests/PrivateVoidCall.as
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,22 @@ | ||||
| // input: [] | ||||
| // output: 9 | ||||
|  | ||||
| package { | ||||
| public class PrivateVoidCall { | ||||
|     public static function main():int{ | ||||
|         var f:OtherClass = new OtherClass(); | ||||
|         f.func(); | ||||
|         return 9; | ||||
|     } | ||||
| } | ||||
| } | ||||
|  | ||||
| class OtherClass { | ||||
|     private function pf():void { | ||||
|         ; | ||||
|     } | ||||
|  | ||||
|     public function func():void { | ||||
|         this.pf(); | ||||
|     } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user
	 Philipp Hagemeister
					Philipp Hagemeister