mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:02:45 +00:00 
			
		
		
		
	LibJS: Fix logic typo in CyclicModule::inner_module_linking()
The comment was right, but the code didn't match.
This commit is contained in:
		
							parent
							
								
									8b7d27b349
								
							
						
					
					
						commit
						4b1053e327
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -127,7 +127,7 @@ void CyclicModule::inner_module_loading(JS::GraphLoadingState& state) | |||
|         for (auto const& loaded : state.visited) { | ||||
|             // i. If loaded.[[Status]] is NEW, set loaded.[[Status]] to UNLINKED.
 | ||||
|             if (loaded->m_status == ModuleStatus::New) | ||||
|                 loaded->m_status = ModuleStatus::Linked; | ||||
|                 loaded->m_status = ModuleStatus::Unlinked; | ||||
|         } | ||||
| 
 | ||||
|         // c. Perform ! Call(state.[[PromiseCapability]].[[Resolve]], undefined, « undefined »).
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling