[vala/0.42] codegen: Fix typo in is_pure_ccode_expression()
- From: Rico Tzschichholz <ricotz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala/0.42] codegen: Fix typo in is_pure_ccode_expression()
- Date: Sun, 23 Sep 2018 09:05:45 +0000 (UTC)
commit de40d551d77ae13f537cc4a3e56933b5edbbcedc
Author: Rico Tzschichholz <ricotz ubuntu com>
Date: Thu Sep 20 12:56:38 2018 +0200
codegen: Fix typo in is_pure_ccode_expression()
Note that this method is not used anymore and should likely be dropped.
Introduced with e086fada22eb7221cdbe34d7d4ac41445a50130a
Fixes https://gitlab.gnome.org/GNOME/vala/issues/673
codegen/valaccodebasemodule.vala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/codegen/valaccodebasemodule.vala b/codegen/valaccodebasemodule.vala
index 2da65098a..e37042044 100644
--- a/codegen/valaccodebasemodule.vala
+++ b/codegen/valaccodebasemodule.vala
@@ -1422,7 +1422,7 @@ public abstract class Vala.CCodeBaseModule : CodeGenerator {
return true;
} else if (cexpr is CCodeBinaryExpression) {
var cbinary = (CCodeBinaryExpression) cexpr;
- return is_pure_ccode_expression (cbinary.left) && is_constant_ccode_expression
(cbinary.right);
+ return is_pure_ccode_expression (cbinary.left) && is_pure_ccode_expression
(cbinary.right);
} else if (cexpr is CCodeUnaryExpression) {
var cunary = (CCodeUnaryExpression) cexpr;
switch (cunary.operator) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]