[vala] valac: Do not enable experimental-non-null with --enable-experimental



commit 3f2e279148a647c949e0d8543f12bde25c43b691
Author: Jürg Billeter <j bitron ch>
Date:   Wed Mar 31 21:40:00 2010 +0200

    valac: Do not enable experimental-non-null with --enable-experimental

 compiler/valacompiler.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/compiler/valacompiler.vala b/compiler/valacompiler.vala
index 2e643b7..d406d91 100644
--- a/compiler/valacompiler.vala
+++ b/compiler/valacompiler.vala
@@ -208,7 +208,7 @@ class Vala.Compiler {
 		context.checking = enable_checking;
 		context.deprecated = deprecated;
 		context.experimental = experimental;
-		context.experimental_non_null = experimental || experimental_non_null;
+		context.experimental_non_null = experimental_non_null;
 		context.dbus_transformation = !disable_dbus_transformation;
 		context.report.enable_warnings = !disable_warnings;
 		context.report.set_verbose_errors (!quiet_mode);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]