mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 11:01:25 -05:00
running cacheindexes on soaks that need them.
This commit is contained in:
@@ -77,6 +77,17 @@ ok result is '10'
|
||||
|
||||
ok(process.exit.nothing?.property() or 101)
|
||||
|
||||
counter = 0
|
||||
func = ->
|
||||
counter += 1
|
||||
'prop'
|
||||
obj =
|
||||
prop: -> this
|
||||
value: 25
|
||||
|
||||
ok obj[func()]()[func()]()[func()]()?.value is 25
|
||||
ok counter is 3
|
||||
|
||||
|
||||
# Soaks inner values.
|
||||
ident = (obj) -> obj
|
||||
|
||||
Reference in New Issue
Block a user