mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	provide analyser corresponding to the GD0001 and GD0002, add ClassPartialModifierAnalyzerFix, and tests
Co-authored-by: Raul Santos <raulsntos@gmail.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									0246230e2b
								
							
						
					
					
						commit
						00dc19585b
					
				
					 15 changed files with 230 additions and 76 deletions
				
			
		|  | @ -30,16 +30,13 @@ namespace Godot.SourceGenerators | |||
|                         { | ||||
|                             if (x.cds.IsPartial()) | ||||
|                             { | ||||
|                                 if (x.cds.IsNested() && !x.cds.AreAllOuterTypesPartial(out var typeMissingPartial)) | ||||
|                                 if (x.cds.IsNested() && !x.cds.AreAllOuterTypesPartial(out _)) | ||||
|                                 { | ||||
|                                     Common.ReportNonPartialGodotScriptOuterClass(context, typeMissingPartial!); | ||||
|                                     return false; | ||||
|                                 } | ||||
| 
 | ||||
|                                 return true; | ||||
|                             } | ||||
| 
 | ||||
|                             Common.ReportNonPartialGodotScriptClass(context, x.cds, x.symbol); | ||||
|                             return false; | ||||
|                         }) | ||||
|                         .Select(x => x.symbol) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ivan Shakhov
						Ivan Shakhov