summaryrefslogtreecommitdiff
path: root/vala/valalambdaexpression.vala
diff options
context:
space:
mode:
authorEvan Nemerson <evan@coeus-group.com>2010-05-15 15:14:48 -0700
committerJürg Billeter <j@bitron.ch>2010-06-15 20:38:18 +0200
commita2c979388250683f8dc91c18db45d3a0a5b3b3e3 (patch)
tree17ca03af3a16f1d75833913056785f9feedcb1f2 /vala/valalambdaexpression.vala
parentae840f4c9616fcfad635476b6d81bc443bc35d26 (diff)
downloadvala-a2c979388250683f8dc91c18db45d3a0a5b3b3e3.tar.gz
Add support for [Deprecated] attribute
Fixes bug 614712.
Diffstat (limited to 'vala/valalambdaexpression.vala')
-rw-r--r--vala/valalambdaexpression.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/vala/valalambdaexpression.vala b/vala/valalambdaexpression.vala
index 25e54b0f6..4bc618ff1 100644
--- a/vala/valalambdaexpression.vala
+++ b/vala/valalambdaexpression.vala
@@ -136,6 +136,7 @@ public class Vala.LambdaExpression : Expression {
method = new Method (get_lambda_name (analyzer), cb.return_type, source_reference);
// track usage for flow analyzer
method.used = true;
+ method.check_deprecated (source_reference);
if (!cb.has_target || !analyzer.is_in_instance_method ()) {
method.binding = MemberBinding.STATIC;