summaryrefslogtreecommitdiff
path: root/vala/valaattribute.vala
diff options
context:
space:
mode:
authorJuerg Billeter <j@bitron.ch>2008-04-14 19:07:37 +0000
committerJürg Billeter <juergbi@src.gnome.org>2008-04-14 19:07:37 +0000
commit89179ce042596bc60ec569a65cb9295324ff22a5 (patch)
tree56e4bda0beaa2d869adf40eef93e4b407742d7fe /vala/valaattribute.vala
parent94979a22270adeab75d2bfdb74902591d7385450 (diff)
downloadvala-89179ce042596bc60ec569a65cb9295324ff22a5.tar.gz
report warning when using null literal as return expression of method
2008-04-14 Juerg Billeter <j@bitron.ch> * vala/valasemanticanalyzer.vala: report warning when using null literal as return expression of method returning non-null value * */*.vala: fix warnings svn path=/trunk/; revision=1228
Diffstat (limited to 'vala/valaattribute.vala')
-rw-r--r--vala/valaattribute.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valaattribute.vala b/vala/valaattribute.vala
index 993bcecbe..cb0fd7384 100644
--- a/vala/valaattribute.vala
+++ b/vala/valaattribute.vala
@@ -81,7 +81,7 @@ public class Vala.Attribute : CodeNode {
* @param name argument name
* @return string value
*/
- public string get_string (string name) {
+ public string? get_string (string name) {
// FIXME: use hash table
foreach (NamedArgument arg in args) {
if (arg.name == name) {