Skip to content

Commit

Permalink
Closes #856 (add test case, fix by @zhaihj)
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Jul 8, 2015
1 parent cf69dd2 commit 37d9be6
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/compiler/classes/reverse-constructor-args-on-extend.ooc
@@ -0,0 +1,8 @@

A: class {
init: func (callback: Func (Int), value: Int)
}

B: class extends A { // Wrong order of parameters
init: func (value: Int, callback: Func (Int))
}

0 comments on commit 37d9be6

Please sign in to comment.