mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 11:01:25 -05:00
tweaking existential compilation.
This commit is contained in:
@@ -70,6 +70,11 @@ result = value?.toString().toLowerCase()
|
||||
ok result is '10'
|
||||
|
||||
|
||||
# Soaks inner values.
|
||||
ident = (obj) -> obj
|
||||
ok ident(non?.existent().method()) is undefined
|
||||
|
||||
|
||||
# Soaks constructor invocations.
|
||||
a = 0
|
||||
class Foo
|
||||
|
||||
Reference in New Issue
Block a user