mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 13:11:32 +00:00
implement basic type annotations (not yet used or declarable)
This commit is contained in:
@ -119,6 +119,10 @@ class ExternalSymbolUsageAnalyzer : FunctionLevelVisitor<Unit>() {
|
||||
checkAndContribute(node.symbol)
|
||||
}
|
||||
|
||||
override fun visitTypeSpec(node: TypeSpec) {
|
||||
checkAndContribute(node.symbol)
|
||||
}
|
||||
|
||||
override fun visitVarAssignment(node: VarAssignment) {
|
||||
internalSymbols.last().add(node.symbol)
|
||||
node.value.visit(this)
|
||||
|
Reference in New Issue
Block a user