Annotation of parser3/tests/261.html, revision 1.1
1.1 ! moko 1: @main[]
! 2:
! 3: $void_methods[^reflection:methods[void]]
! 4: $string_methods[^reflection:methods[string]]
! 5:
! 6: ^if($void_methods != $string_methods){
! 7: String has ^string_methods._count[] while void has ^void_methods._count[].
! 8: }
! 9:
! 10: $s[]
! 11: $v[$void]
! 12:
! 13: String vs void:
! 14:
! 15: Json: ^json:string[$s] vs ^json:string[$v]
! 16: Length: ^s.length[] vs ^v.length[]
! 17: Double: ^s.double(0) vs ^v.double(0)
! 18: Base64: "^s.base64[]" vs "^v.base64[]"
! 19:
! 20: ^string_methods.foreach[k;v]{
! 21: ^if(!($v.$k is 'junction')){
! 22: String method $k absent in void
! 23: }
! 24: }
E-mail: