mirror of
https://github.com/GayPizzaSpecifications/pork.git
synced 2025-08-03 13:11:32 +00:00
language: introduce the requirement to use return to return a value from a function
This commit is contained in:
@ -99,6 +99,10 @@ class ExternalSymbolUsageAnalyzer : FunctionLevelVisitor<Unit>() {
|
||||
node.visitChildren(this)
|
||||
}
|
||||
|
||||
override fun visitReturn(node: Return) {
|
||||
node.visitChildren(this)
|
||||
}
|
||||
|
||||
override fun visitSetAssignment(node: SetAssignment) {
|
||||
node.visitChildren(this)
|
||||
}
|
||||
|
Reference in New Issue
Block a user