Closed sverweij closed 8 years ago
@mdevils Is this issue about CST?
I think it's actually for Babel
Since this is a parse error from Babel
With the latest babel version it seems to work OK
$npm i -g babel-cli
(...)
$ babel --version
6.7.7 (babel-core 6.7.7)
$ babel multistr-with-hash-NOK.js
var multilinestring = "x\n\
#";
console.log(multilinestring);
$ babel multistr-without-hash-OK.js
var multilinestring = "x\n\
y";
console.log(multilinestring);
The babel (core) version installed with CST is 6.6.1 - so if babel is the culprit upgrading might be a solution?
CST doesn't use babel it uses babylon and CST uses last available version.
Not sure what to update there
Since there is nothing we can do here, i'm closing it, track the babylon issue - https://github.com/babel/babylon/issues/32
running
jscs multistr-with-hash-NOK.js
yieldsWhereas running
jscs multistr-without-hash-OK.js
validates AOK.Inputs
multistr-with-hash-NOK.js:
multistr-without-hash-OK.js:
Version information
{}
as content