mirror of
https://github.com/beefytech/Beef.git
synced 2025-07-04 23:36:00 +02:00
Make case expression work with nullable Result<T>
This commit is contained in:
parent
206023f4a6
commit
319755ca36
3 changed files with 96 additions and 22 deletions
|
@ -510,6 +510,7 @@ public:
|
|||
bool HasVariableDeclaration(BfAstNode* checkNode);
|
||||
void DoInvocation(BfInvocationExpression* invocationExpr);
|
||||
void DoInvocation(BfAstNode* target, BfMethodBoundExpression* methodBoundExpr, const BfSizedArray<BfExpression*>& args, const BfMethodGenericArguments& methodGenericArgs, BfTypedValue* outCascadeValue = NULL);
|
||||
void DoCaseExpression(BfTypedValue caseValAddr, BfCaseExpression* caseExpr);
|
||||
int GetMixinVariable();
|
||||
void CheckLocalMethods(BfAstNode* targetSrc, BfTypeInstance* typeInstance, const StringImpl& methodName, BfMethodMatcher& methodMatcher, BfMethodType methodType);
|
||||
void InjectMixin(BfAstNode* targetSrc, BfTypedValue target, bool allowImplicitThis, const StringImpl& name, const BfSizedArray<BfExpression*>& arguments, const BfMethodGenericArguments& methodGenericArgs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue