From 061c02a91056b2f8c8b4cc985db4aec9c0a235fc Mon Sep 17 00:00:00 2001 From: Rico Tzschichholz Date: Fri, 19 Oct 2018 13:01:04 +0200 Subject: vala: Rename DataType.data_type property to DataType.type_symbol --- vala/valalambdaexpression.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vala/valalambdaexpression.vala') diff --git a/vala/valalambdaexpression.vala b/vala/valalambdaexpression.vala index 8a930ef61..62c22a9a7 100644 --- a/vala/valalambdaexpression.vala +++ b/vala/valalambdaexpression.vala @@ -207,7 +207,7 @@ public class Vala.LambdaExpression : Expression { var block = new Block (source_reference); block.scope.parent_scope = method.scope; - if (method.return_type.data_type != null) { + if (method.return_type.type_symbol != null) { block.add_statement (new ReturnStatement (expression_body, source_reference)); } else { block.add_statement (new ExpressionStatement (expression_body, source_reference)); -- cgit v1.2.1