mirror of
				https://github.com/astral-sh/ruff.git
				synced 2025-10-31 12:05:57 +00:00 
			
		
		
		
	[red-knot] resolve source/stubs over namespace packages (#13254)
This commit is contained in:
		
							parent
							
								
									a4ebe7d344
								
							
						
					
					
						commit
						594dee1b0b
					
				
					 2 changed files with 52 additions and 17 deletions
				
			
		|  | @ -59,6 +59,10 @@ impl ModulePath { | |||
|         self.relative_path.push(component); | ||||
|     } | ||||
| 
 | ||||
|     pub(crate) fn pop(&mut self) -> bool { | ||||
|         self.relative_path.pop() | ||||
|     } | ||||
| 
 | ||||
|     #[must_use] | ||||
|     pub(super) fn is_directory(&self, resolver: &ResolverContext) -> bool { | ||||
|         let ModulePath { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Simon
						Simon