mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-11-03 09:29:38 +00:00
implement basic type annotations (not yet used or declarable)
This commit is contained in:
@ -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