diff options
author | Jürg Billeter <j@bitron.ch> | 2008-11-28 11:34:22 +0000 |
---|---|---|
committer | Jürg Billeter <juergbi@src.gnome.org> | 2008-11-28 11:34:22 +0000 |
commit | b3edafecb598c3018dcddee382fa4c5fe124d7aa (patch) | |
tree | 2de5ec7c3f664942dd5c01e0ea2d5328f71f48e6 /vala/valaintegertype.vala | |
parent | 4b4f30b45d387e780d6a49faf6fa4bfb4d7a8570 (diff) | |
download | vala-b3edafecb598c3018dcddee382fa4c5fe124d7aa.tar.gz |
Improve handling of generic values, fixes bug 562460
2008-11-28 Jürg Billeter <j@bitron.ch>
* vala/valadatatype.vala:
* vala/valaexpression.vala:
* vala/valaintegertype.vala:
* vala/valamemberaccess.vala:
* vala/valamethodcall.vala:
* vala/valasemanticanalyzer.vala:
* vala/valavaluetype.vala:
* gobject/valaccodebasemodule.vala:
* gobject/valaccodecontrolflowmodule.vala:
Improve handling of generic values, fixes bug 562460
svn path=/trunk/; revision=2067
Diffstat (limited to 'vala/valaintegertype.vala')
-rw-r--r-- | vala/valaintegertype.vala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/vala/valaintegertype.vala b/vala/valaintegertype.vala index ac8991327..88eee0390 100644 --- a/vala/valaintegertype.vala +++ b/vala/valaintegertype.vala @@ -37,9 +37,7 @@ public class Vala.IntegerType : ValueType { } public override DataType copy () { - var type = new IntegerType (type_symbol, literal_value, literal_type_name); - type.is_type_argument = is_type_argument; - return type; + return new IntegerType (type_symbol, literal_value, literal_type_name); } public override bool compatible (DataType target_type) { |