Skip to content

Commit

Permalink
added check to lsp checks
Browse files Browse the repository at this point in the history
  • Loading branch information
ascandone committed Dec 6, 2024
1 parent dc4ddf4 commit 3555f22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/analysis/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ var Builtins = map[string]FnCallResolution{
Return: TypeMonetary,
Docs: "fetch account balance",
},
FnVarOriginOverdraft: VarOriginFnCallResolution{
Params: []string{TypeAccount, TypeAsset},
Return: TypeMonetary,
Docs: "get absolute amount of the overdraft of an account. Returns zero if balance is not negative",
},
}

type Diagnostic struct {
Expand Down

0 comments on commit 3555f22

Please sign in to comment.