summaryrefslogtreecommitdiff
path: root/gee/readonlyset.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-14 18:16:48 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-14 18:16:48 +0000
commit9a47bfea4556af21cdd42d2faca57b9ee1e3c078 (patch)
tree194c166504b474ccee79de4f7d6a62762f4f4c2e /gee/readonlyset.vala
parent27afedc0a84382bfc3d4040a5c0e62bb70e72fa6 (diff)
downloadvala-9a47bfea4556af21cdd42d2faca57b9ee1e3c078.tar.gz
report error when using null literal as default expression of non-null
2008-04-14 Juerg Billeter <j@bitron.ch> * vala/valasemanticanalyzer.vala: report error when using null literal as default expression of non-null parameter, fixes bug 528021 * gee/readonlycollection.vala, gee/readonlylist.vala, gee/readonlymap.vala, gee/readonlyset.vala, vala/valascope.vala, ccode/valaccodeforstatement.vala, ccode/valaccodewhilestatement.vala, vapigen/valavapicheck.vala, vapi/glib-2.0.vapi: fix revealed bugs svn path=/trunk/; revision=1226
Diffstat (limited to 'gee/readonlyset.vala')
-rw-r--r--gee/readonlyset.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/gee/readonlyset.vala b/gee/readonlyset.vala
index ecf64d933..0439c8c24 100644
--- a/gee/readonlyset.vala
+++ b/gee/readonlyset.vala
@@ -36,7 +36,7 @@ public class Gee.ReadOnlySet<G> : Object, Iterable<G>, Collection<G>, Set<G> {
private Set<G> _set;
- public ReadOnlySet (Set<G> set = null) {
+ public ReadOnlySet (Set<G>? set = null) {
this.set = set;
}