[vala] Mark regular expression literals as stable



commit b3ecc7a36fa28acf427be9b19b7bcb65a3587625
Author: Jürg Billeter <j bitron ch>
Date:   Mon Jun 30 22:08:40 2014 +0200

    Mark regular expression literals as stable
    
    Fixes part of bug 677022.

 vala/valaregexliteral.vala |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/vala/valaregexliteral.vala b/vala/valaregexliteral.vala
index e8c9fa8..f91aa1a 100644
--- a/vala/valaregexliteral.vala
+++ b/vala/valaregexliteral.vala
@@ -69,10 +69,6 @@ public class Vala.RegexLiteral : Literal {
 
                checked = true;
 
-               if (!context.experimental) {
-                       Report.warning (source_reference, "regular expression literals are experimental");
-               }
-
                try {
                        var regex = new GLib.Regex (value);
                        if (regex != null) { /* Regex is valid. */ }


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