diff options
Diffstat (limited to 'vala/valamethod.vala')
-rw-r--r-- | vala/valamethod.vala | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vala/valamethod.vala b/vala/valamethod.vala index f03df3a4c..9769efff9 100644 --- a/vala/valamethod.vala +++ b/vala/valamethod.vala @@ -832,10 +832,6 @@ public class Vala.Method : Subroutine, Callable { source_reference.file.context.module_init_method = this; } - if (return_type != null) { - return_type.check (context); - } - if (parameters.size == 1 && parameters[0].ellipsis && body != null && binding != MemberBinding.INSTANCE) { // accept just `...' for external methods and instance methods error = true; |