summaryrefslogtreecommitdiff
path: root/vala/valalambdaexpression.vala
Commit message (Collapse)AuthorAgeFilesLines
* codegen: Stabilize CCode.cname for backing method of lamdba expressionRico Tzschichholz2023-04-061-3/+1
| | | | Move lambda_id generation to CCodeAttribute and use _vala_lambda%d_ pattern
* Revert "Use ErrorType-based collection for CodeNode.get_error_types()"Rico Tzschichholz2021-10-251-2/+2
| | | | | | Unfortunately, it is causing issues with the way the GIR/GIDL parser works. This reverts commit 0751a9e3bf46fc830d3e7ca3d0cfd3ae48846e68.
* Use ErrorType-based collection for CodeNode.get_error_types()Rico Tzschichholz2021-10-231-2/+2
|
* vala: Set more missing source references of CodeNode instancesRico Tzschichholz2021-10-171-1/+1
|
* vala: Make use of new printf-like API of Report.*()Rico Tzschichholz2020-10-261-2/+2
|
* vala: CodeNode.source_reference is optional, so let the API respect thatRico Tzschichholz2020-10-241-2/+2
|
* vala: Set parent_node for child nodes of lambda-expressionwip/issue/1062Rico Tzschichholz2020-08-141-2/+21
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1062
* vala: Improve source documentationRico Tzschichholz2020-05-271-2/+3
|
* vala: Don't perform version check on internal lambda methodRico Tzschichholz2020-04-161-1/+0
|
* vala: Remove some public API from expressions and statementsRico Tzschichholz2020-03-241-3/+3
|
* vala: Inherit lambda parameter attributes from delegateRico Tzschichholz2020-03-171-0/+1
| | | | ... by setting base_parameter accordingly
* vala: Improve copy of required attributes from delegate to lamdba methodRico Tzschichholz2020-03-171-0/+8
|
* vala: Method representing a LambdaExpression might be null on an errorPrinceton Ferro2020-02-191-1/+1
| | | | | | This caused criticals like: vala_method_get_closure: assertion 'self != NULL' failed
* vala: Micro optimizations for SemanticAnalyzerRico Tzschichholz2019-09-301-1/+1
|
* vala: Rename DataType.data_type property to DataType.type_symbolRico Tzschichholz2019-09-301-1/+1
|
* vala: Let methods return an unowned reference to internal collectionsRico Tzschichholz2019-09-301-2/+2
| | | | Correctly state ownership in documentation since those were never a copy.
* Collect error_types on demand to allow transformationsLuca Bruno2018-10-231-1/+3
|
* Drop trailing spaces/tabsRico Tzschichholz2018-03-271-6/+6
| | | | It was about time to do this.
* vala: Move next_lambda_id into LambdaExpressionRico Tzschichholz2017-12-151-9/+3
|
* vala: Slightly improve lamdba-expression error on target-type mismatchRico Tzschichholz2017-03-221-1/+5
|
* Introduce [Version (...)]Florian Brosch2016-01-301-2/+1
| | | | | | | | | | | | | | | | | Parameters: since: string, version number experimental: bool (was: [Experimental]) experimental_until: string, version number deprecated_since: string, version number (was: [Deprecated (since="")]) replacement: string, symbol name (was: [Deprecated (replacement="")]) deprecated: bool (was: [Deprecated]) Used symbols labeled with [Version (since = "")] are checked against the locally installed package version. Use --disable-since-check to avoid this behaviour. Fixes bug 678912.
* Error when lambda parameter has incompatible direction with the delegateLuca Bruno2014-12-041-0/+6
| | | | Fixes bug 740894
* Drop Dova profileJürg Billeter2012-08-061-11/+1
|
* Fix lambda expression regressionLuca Bruno2011-08-041-1/+0
| | | | | | The regression was introduced by commit fec66bf087618263c57. Instead of making a shallow copy of all attributes, the ccode bits are now moved to the codegen in order to reflect the original code.
* Drop C specific methods from the code treeLuca Bruno2011-08-011-3/+1
|
* Enable flow analysis for out parametersLuca Bruno2011-07-151-2/+2
| | | | Fixes bug 638363.
* Support ref and out parameters in lambda expressionsLuca Bruno2011-06-171-11/+10
| | | | Fixes bug 622570.
* Support array_length_type for delegate return valuesMichal Hruby2011-04-041-0/+3
| | | | Partially fixes bug 644420.
* Add support for [Experimental] attributeMarco Trevisan (Treviño)2011-03-151-0/+1
| | | | | | | Report a warning when using experimental symbols. The GIDL parser has been updated, too, and bindings have been regenerated. Fixes bug 644779.
* Replace SemanticAnalyzer with CodeContext in CodeNode.check parameterJürg Billeter2010-10-281-11/+11
|
* Rename FormalParameter to ParameterJürg Billeter2010-10-281-3/+3
|
* Support use of generics in closuresJürg Billeter2010-10-251-0/+11
|
* Use emit instead of accept and accept_children in code generatorJürg Billeter2010-08-101-0/+6
|
* Add Variable classJürg Billeter2010-07-271-1/+1
|
* dova: Fix delegates with generic return typesJürg Billeter2010-07-101-1/+2
|
* dova: Fix non-void lambda expressionsJürg Billeter2010-07-031-0/+5
|
* Prepare support for generic delegatesJürg Billeter2010-07-031-1/+2
|
* Add support for [Deprecated] attributeEvan Nemerson2010-06-151-0/+1
| | | | Fixes bug 614712.
* Drop ReadOnly* collection classesJürg Billeter2010-03-201-1/+1
| | | | | | They are not very useful in the compiler as they are not immutable, which means that they do not allow iteration while modifying the underlying collection.
* dova: Add implicit result variableJürg Billeter2010-03-131-1/+6
|
* Perform flow analysis on lambda expressionsMarc-André Lureau2010-01-291-11/+6
| | | | Fixes bug 606478.
* Do not use Gee namespace to avoid conflict with libgeeJürg Billeter2009-10-121-3/+2
|
* Fix methods returning owned delegatesJürg Billeter2009-09-181-0/+1
|
* Report error when capturing uninitialized variables in closuresJürg Billeter2009-09-171-0/+7
|
* Fix names of methods generated from lambda expressionsJürg Billeter2009-04-121-1/+1
|
* Make sender parameter in signal handlers optionalJürg Billeter2009-04-031-2/+10
| | | | | | Signal handler should not need to know the sender. This also makes it possible to use the exact same parameter list for signal declaration and signal handler.
* Fix crash with nested lambda expressionsJürg Billeter2009-03-301-0/+19
| | | | Fixes bug 570872.
* Support lambda expressions throwing errors, fixes bug 563018Jürg Billeter2009-01-091-1/+5
| | | | | | | | | | 2009-01-09 Jürg Billeter <j@bitron.ch> * vala/valalambdaexpression.vala: Support lambda expressions throwing errors, fixes bug 563018 svn path=/trunk/; revision=2305
* Support instance access in lambda expressions in property accessorsJürg Billeter2008-12-301-9/+1
| | | | | | | | | | 2008-12-30 Jürg Billeter <j@bitron.ch> * vala/valalambdaexpression.vala: Support instance access in lambda expressions in property accessors svn path=/trunk/; revision=2243
* Fix error handling in condition of while, do, and for statementsJürg Billeter2008-11-301-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-30 Jürg Billeter <j@bitron.ch> * vala/valaaddressofexpression.vala: * vala/valaarraycreationexpression.vala: * vala/valaassignment.vala: * vala/valabaseaccess.vala: * vala/valabinaryexpression.vala: * vala/valablock.vala: * vala/valacastexpression.vala: * vala/valaconditionalexpression.vala: * vala/valadostatement.vala: * vala/valaelementaccess.vala: * vala/valaexpression.vala: * vala/valaforstatement.vala: * vala/valainitializerlist.vala: * vala/valalambdaexpression.vala: * vala/valaliteral.vala: * vala/valamemberaccess.vala: * vala/valamethodcall.vala: * vala/valaobjectcreationexpression.vala: * vala/valaparenthesizedexpression.vala: * vala/valapointerindirection.vala: * vala/valapostfixexpression.vala: * vala/valareferencetransferexpression.vala: * vala/valasemanticanalyzer.vala: * vala/valasizeofexpression.vala: * vala/valaswitchsection.vala: * vala/valatuple.vala: * vala/valatypecheck.vala: * vala/valatypeofexpression.vala: * vala/valaunaryexpression.vala: * vala/valawhilestatement.vala: * gobject/valaccodebasemodule.vala: Fix error handling in condition of while, do, and for statements svn path=/trunk/; revision=2096