mirror of
https://github.com/jashkenas/coffeescript.git
synced 2022-11-09 12:23:24 -05:00
test for #1380
This commit is contained in:
parent
e64fa71185
commit
8e5eff5e1e
1 changed files with 8 additions and 3 deletions
|
@ -478,6 +478,11 @@ test "#1182: external constructors with bound functions", ->
|
|||
ok (new A).method.call(new B)
|
||||
|
||||
test "#1372: bound class methods with reserved names", ->
|
||||
class C
|
||||
delete: =>
|
||||
ok C::delete
|
||||
class C
|
||||
delete: =>
|
||||
ok C::delete
|
||||
|
||||
test "#1380: `super` with reserved names", ->
|
||||
class C
|
||||
do: -> super
|
||||
ok C::do
|
||||
|
|
Loading…
Reference in a new issue