Closed KexyBiscuit closed 4 years ago
Here is more context of the code:
class ReqlError extends Error
constructor: (msg, term, frames) ->
@name = @constructor.name
@msg = msg
...
The failure was because of the breaking changes in syntax from CoffeeScript 1.x to 2.0 http://coffeescript.org/v2/#breaking-changes-super-this and it is fundamentally because the new limitation in ES2015. Notations like @xxxx
are the shorthand of this.xxxx
and in CoffeeScript 2.0 it is not allowed before a super
call.
Adding a single line can fix the problem:
class ReqlError extends Error
constructor: (msg, term, frames) ->
super
@name = @constructor.name
@msg = msg
...
But there are many such things in the code.
A simpler solution: (locally, if it's possible) downgrade coffeescript to 1.x. But how? cc: @liushuyu
We are dropping this package, no point maintaining a package that no one asked for. Open a package request if needed.
Bug description
acbs-build_2_5en26i.log
Reproducing steps
Build
rethinkdb
.Update channel(s)
Stable-Proposed
Package and version
b0d2b465dd918c03574522e3f7432e7d9c61d360