File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/Application/HydraScript.Application.StaticAnalysis Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 22using HydraScript . Application . StaticAnalysis . Visitors ;
33using HydraScript . Domain . FrontEnd . Parser ;
44using HydraScript . Domain . FrontEnd . Parser . Impl . Ast . Nodes . Declarations ;
5+ using HydraScript . Domain . FrontEnd . Parser . Impl . Ast . Nodes . Declarations . AfterTypesAreLoaded ;
56using Microsoft . Extensions . DependencyInjection ;
67
78namespace HydraScript . Application . StaticAnalysis ;
@@ -24,6 +25,7 @@ public static IServiceCollection AddStaticAnalysis(this IServiceCollection servi
2425 services . AddSingleton < IAmbiguousInvocationStorage , AmbiguousInvocationStorage > ( ) ;
2526
2627 services . AddSingleton < IVisitor < TypeValue , Type > , TypeBuilder > ( ) ;
28+ services . AddSingleton < IVisitor < FunctionDeclaration , ReturnAnalyzerResult > , ReturnAnalyzer > ( ) ;
2729
2830 services . AddSingleton < IVisitor < IAbstractSyntaxTreeNode > , SymbolTableInitializer > ( ) ;
2931 services . AddSingleton < IVisitor < IAbstractSyntaxTreeNode > , TypeSystemLoader > ( ) ;
You can’t perform that action at this time.
0 commit comments