summaryrefslogtreecommitdiff
path: root/spec/unit/pops/transformer/transform_calls_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2014-05-30(PUP-2703) Make 'tag' be a statement functionHenrik Lindberg1-1/+1
Tag function should not require parentheses.
2014-03-08(PUP-979) Fix unparenthesized calls with hash to not give strange errorHenrik Lindberg1-4/+39
Previously, an unparenthesized call followed by a hash would always result in an error that the hash was a resource body without title. The change now treats the resource body without title as an opportunity to transform the expression into a hash (and subsequently into a call with a hash as an argument). At the same time, the set of functions this is available for has been reduced to realize, require, contain, include, and the logging functions notice, info, warning, error, and the fail function.
2013-12-05(perf) Make future parser use new faster lexerHenrik Lindberg1-2/+2
This makes the future parser use the new faster lexer. As a consequence features provided by the old lexer has now moved to the parser (keeping track of namestack). Locator information is still not optimized wrt the parser as the tokens/locator information are adapter to the "old" way (room for performance improvements). Tests are updated as the new lexer is both more restrictive, and in some case more relaxed (where regular expressions may occur).
2013-10-24(#22969) Remove alternative lambda syntaxHenrik Lindberg1-6/+6
This removes the two alternative lambda syntax forms from the grammar and changes (and removes) tests that were testing (or using) the removed forms. The two removed forms are: * {|$x| } * |$x| => { }
2013-04-05(Maint) Remove API and Impl distinctionsAndrew Parker1-0/+80
The API and Impl modules were an interesting idea that has just been leading to confusion about where things live. Moving forward the public vs. private distinction for API purposes should be handled with @api annotations in documentation and clear responsibilities of classes and modules.