File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
src/Application/HydraScript.Application.StaticAnalysis/Exceptions Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
2+ using HydraScript . Domain . FrontEnd . Parser . Impl . Ast . Nodes . Expressions . PrimaryExpressions ;
3+ using HydraScript . Domain . IR . Impl . Symbols . Ids ;
4+
5+ namespace HydraScript . Application . StaticAnalysis . Exceptions ;
6+
7+ [ ExcludeFromCodeCoverage ]
8+ public class OverloadAlreadyExists ( IdentifierReference ident , FunctionSymbolId overload ) :
9+ SemanticException ( ident . Segment , $ "Overload already exists: { overload } ") ;
Original file line number Diff line number Diff line change 1+ using System . Diagnostics . CodeAnalysis ;
2+ using HydraScript . Domain . FrontEnd . Parser . Impl . Ast . Nodes . Expressions . PrimaryExpressions ;
3+ using HydraScript . Domain . IR . Impl . Symbols . Ids ;
4+
5+ namespace HydraScript . Application . StaticAnalysis . Exceptions ;
6+
7+ [ ExcludeFromCodeCoverage ]
8+ public class UnknownFunctionOverload ( IdentifierReference ident , FunctionSymbolId overload ) :
9+ SemanticException ( ident . Segment , $ "Unknown overload: { overload } ") ;
You can’t perform that action at this time.
0 commit comments