| Index: frog/leg/typechecker.dart
|
| diff --git a/frog/leg/typechecker.dart b/frog/leg/typechecker.dart
|
| index 52b39c5919df295c6ec1c45d19e4f58c1b931958..ee9f80877519714815d6531b87406a1fc9289e64 100644
|
| --- a/frog/leg/typechecker.dart
|
| +++ b/frog/leg/typechecker.dart
|
| @@ -272,6 +272,11 @@ class TypeCheckerVisitor implements Visitor<Type> {
|
| return bodyType.join(StatementType.NOT_RETURNING);
|
| }
|
|
|
| + Type visitFunctionDeclaration(FunctionDeclaration node) {
|
| + analyze(node.function);
|
| + return StatementType.NOT_RETURNING;
|
| + }
|
| +
|
| Type visitFunctionExpression(FunctionExpression node) {
|
| Type type;
|
| Type returnType;
|
|
|