[vala] Make argument of NullType constructor nullable



commit 125562e7f4ee0b404f84491fffead5baaf9745ab
Author: Evan Nemerson <evan coeus-group com>
Date:   Wed Apr 7 21:42:52 2010 -0700

    Make argument of NullType constructor nullable

 vala/valanulltype.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valanulltype.vala b/vala/valanulltype.vala
index cbe0419..ca2bce6 100644
--- a/vala/valanulltype.vala
+++ b/vala/valanulltype.vala
@@ -26,7 +26,7 @@ using GLib;
  * The type of the null literal.
  */
 public class Vala.NullType : ReferenceType {
-	public NullType (SourceReference source_reference) {
+	public NullType (SourceReference? source_reference) {
 		this.nullable = true;
 		this.source_reference = source_reference;
 	}



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