mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2026-11-04 16:02:20 +00:00
implement basic type annotations (not yet used or declarable)
This commit is contained in:
25 files changed
+161
-28
No files matched your search
@@ -54,8 +54,6 @@ class EvaluationVisitor(root: Scope, val stack: CallStack) : FunctionLevelVisito
|
||||
|
||||
override fun visitLongLiteral(node: LongLiteral): Any = node.value
|
||||
|
||||
override fun visitSymbol(node: Symbol): Any = None
|
||||
|
||||
override fun visitFunctionCall(node: FunctionCall): Any {
|
||||
val arguments = node.arguments.map { it.visit(this) }
|
||||
val functionValue = currentScope.value(node.symbol.id) as CallableFunction
|
||||
|
||||
Reference in new issue
Block a user