| Новости | FAQ | Авторы | Документация | В действии | Библиотека |
| Инструменты | Полезные ссылки | Хостинги | Скачать | Примеры | Форум |
G_Z 10.06.2016 04:23
try-test.html:@main[]
^wrapper{
$t[^test::create[]]
$result[^t.run[]]
}
@wrapper[code]
^try{
$code
}{
$exception.handled($exception.type eq 'my.exeption')
}
@CLASS
test
@create[]
@run[]
^missing[]В версии 3.4.4 ошибка ожидаемая:Unhandled Exception (Debug)Версия 3.4.5 ругается на try, а не на missing:
undefined method
missing
/web/site/www/try-test.html(22)
exception.type=parser.runtime
run /web/site/www/try-test.html(4)
t /web/site/www/try-test.html(3)
code /web/site/www/try-test.html(10)
try /web/site/www/try-test.html(9)
wrapper /web/site/www/try-test.html(2)
Unhandled Exception (Debug)OS X 10.11x64, Parser 3.4.4/3.4.5 beta.
undefined method
try
/web/site/www/try-test.html(9)
exception.type=parser.runtime
wrapper /web/site/www/try-test.html(2)