Eric MORAND
Eric MORAND
# Problem/Motivation When attepting to install a new site using `site:install` command, the following error is thrown: > console.site_install - You have requested a non-existent service "extension.list.module". ### How to...
Hi guys, I'd like to be able to generate code from a grammar, like `@ohm/cli` is doing. But it seems like the package doesn't export the node classes themselves (like...
When using the CLI command `generateBundles`, the generated type definitions are not exectaly in-sync with the generated JavaScript module. From the following grammar: ```ohm Foo { } Bar { }...
Consider the following Twig templates: > index.html.twig ```twig {{ obj.foo() }} {% include "partial.twig" with { obj2: { foo: obj.foo } } %} ``` > partial.twig ```twig {{ obj2.foo() }}...
Exception Only "include" tags are allowed within a "sandbox" section when using the include function
When trying to render the following template, we get an exception: `{% sandbox %}{{ include('foo.twig') }}{% endsandbox %}` > Twig\Error\SyntaxError: Only "include" tags are allowed within a "sandbox" section in...
The documentation explictly says so: > Before Twig 2.11, it was possible to use macros imported in a block in a "sub-block". When upgrading to 2.11, you need to either...
When a macro is defined in a parent template, it is considered as not defined even though it is available in the template: ```twig {% extends "parent.twig" %} {% block...
Twig allows using operators as variable names - this is expected since it is possible to add operators to the language and it would make the language extremely unreliable to...
Consider the following test: ``` twig({ id: 'include-with-function', path: 'test/templates/include-with-function.twig', async: false }); // Load the template twig({ref: 'include-with-function'}).render({ test: function(d) { return 'ABC' + d; } }).should.equal( "ABCD" );...
## I'm submitting a... [ ] Regression [ ] Bug report [ ] Feature request [X] Documentation issue or request (new chapter/page) [ ] Support request => Please do not...