Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple examples with an includes trigger an error #65

Open
Kurohyou opened this issue Jun 16, 2022 · 0 comments
Open

Multiple examples with an includes trigger an error #65

Kurohyou opened this issue Jun 16, 2022 · 0 comments

Comments

@Kurohyou
Copy link

Attempting to do multiple examples causes an Error parsing body of the with expression.

Example problem code like:

//- @pugdoc
  name: example
  examples:
    - 
      name: Example 1
      example: +my-mixin(1)
    - 
      name: Example 2
      example: +my-mixin(2)
    - 
      name: Example 2
      example: +my-mixin(3)

mixin my-mixin(val)
  span #{val}

Babylo Error code and details:

code: 'BABEL_PARSER_SYNTAX_ERROR',
reasonCode: 'VarRedeclaration',
loc: Position { line: 1817, column: 6, index: 79273 },
pos: [Getter/Setter]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant