Skip to content
This repository has been archived by the owner on Oct 19, 2021. It is now read-only.

Commit

Permalink
Adding no_implicit_parens examples from #68
Browse files Browse the repository at this point in the history
  • Loading branch information
Asa Ayers authored and Asa Ayers committed Oct 15, 2013
1 parent 188f487 commit c63c6d1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/test_no_implicit_parens.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,17 @@ vows.describe('parens').addBatch({
console.log 'implict parens'
blah = (a, b) ->
blah 'a', 'b'
class A
@configure(1, 2, 3)
constructor: ->
class B
_defaultC = 5
constructor: (a) ->
@c = a ? _defaultC
'''

'are allowed by default' : (source) ->
Expand Down

0 comments on commit c63c6d1

Please sign in to comment.