[vala] Fix throwing errors in async methods
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [vala] Fix throwing errors in async methods
- Date: Thu, 17 Sep 2009 21:00:05 +0000 (UTC)
commit a00364a78df79ca57800caa2637e223a9b753309
Author: Jürg Billeter <j bitron ch>
Date: Thu Sep 17 22:58:13 2009 +0200
Fix throwing errors in async methods
codegen/valagerrormodule.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagerrormodule.vala b/codegen/valagerrormodule.vala
index ff08984..9d624de 100644
--- a/codegen/valagerrormodule.vala
+++ b/codegen/valagerrormodule.vala
@@ -92,7 +92,7 @@ internal class Vala.GErrorModule : CCodeDelegateModule {
// method will fail
current_method_inner_error = true;
- var cassign = new CCodeAssignment (new CCodeIdentifier ("_inner_error_"), (CCodeExpression) stmt.error_expression.ccodenode);
+ var cassign = new CCodeAssignment (get_variable_cexpression ("_inner_error_"), (CCodeExpression) stmt.error_expression.ccodenode);
cfrag.append (new CCodeExpressionStatement (cassign));
head.add_simple_check (stmt, cfrag);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]