Annotation of parser3/tests/results/378.processed, revision 1.2

1.1       moko        1: Content-Type: text/html
1.2     ! moko        2: Content-Length: 1091
1.1       moko        3: 
                      4: 1. return in method string param
                      5: =
                      6: 2. return in method code param
                      7: =arg: [%
                      8: 3. return in variable in code
                      9: |%
                     10: 4. return from getter
                     11: = %= "before"
                     12: 5. return from setter
                     13: == "before"
                     14: 6. return from constructor
                     15: 6.0 == "before"
                     16: 6.1 = "void"
                     17: 7. return in method name (unusial, but still possible)
                     18: =
                     19: 8. return in expression or parser method expression param is allowed
                     20: 8.0 %
                     21: 8.1 =%
                     22: 9. return is not allowed in expression passed to native method
1.2     ! moko       23: Exception type: parser.runtime,
1.1       moko       24: Source: if,
                     25: Comment: return is not allowed in expression passed to native method (parameter #1)
                     26: 10. testing return value
                     27: result value "before"
                     28: 11. testing return value
                     29: result set
                     30: 12. testing return value
                     31: result replaced
                     32: 13. testing return value
                     33: result replaced
                     34: 14. testing continue replacing return
                     35: body 1 == , [2] body 2 == , [3] body 3 == , [4] body 4 == , [5] body 5 =%, [6] body 6 =%, [7] body 7 =%, [8] body 8 =%
                     36: 15. testing continue replacing return, but result is set
                     37: 8
                     38: 16. testing continue in finally replacing return
                     39: =
                     40: [1]
                     41: try =%
                     42: ups [2]
                     43: try =%
                     44: ups =
                     45: 17. testing finally not replacing return
                     46: =
                     47: [1]
                     48: try =%
                     49: ups
                     50: [eof]

E-mail: