Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Non clear syntax error with unclosed var( #23

Closed
MoOx opened this issue Aug 25, 2014 · 1 comment
Closed

Non clear syntax error with unclosed var( #23

MoOx opened this issue Aug 25, 2014 · 1 comment

Comments

@MoOx
Copy link
Owner

MoOx commented Aug 25, 2014

body {
  font-size: var(--fontSize;
}

Give on the playground

TypeError: balanced(...) is undefined

And with cli

cssnext encounters an error:

Cannot read property 'body' of undefined

    at resolveValue (/Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss-custom-properties/index.js:96:66)
    at /Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss-custom-properties/index.js:62:23
    at /Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss/lib/container.js:402:30
    at Rule.Container.each (/Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss/lib/container.js:88:20)
    at Rule.Container.WithDecls.constructor$1.eachDecl (/Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss/lib/container.js:400:21)
    at /Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss/lib/container.js:331:36
    at Root.Container.each (/Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss/lib/container.js:88:20)
    at Root.Container.WithRules.constructor$0.eachDecl (/Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss/lib/container.js:329:21)
    at /Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss-custom-properties/index.js:55:11
    at PostCSS.process (/Users/MoOx/Sync/Development/cssnext/playground/node_modules/cssnext/node_modules/postcss/lib/postcss.js:34:28)
@MoOx
Copy link
Owner Author

MoOx commented Aug 26, 2014

Closed by d9a5364

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant