{"action":"created","issue":{"url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/407","repository_url":"https://api.github.com/repos/EvilBeaver/OneScript","labels_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/407/comments","events_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/407/events","html_url":"https://github.com/EvilBeaver/OneScript/issues/407","id":208861520,"number":407,"title":"Режим -check падает в некоторых случаях","user":{"login":"EvilBeaver","id":2657561,"avatar_url":"https://avatars.githubusercontent.com/u/2657561?v=3","gravatar_id":"","url":"https://api.github.com/users/EvilBeaver","html_url":"https://github.com/EvilBeaver","followers_url":"https://api.github.com/users/EvilBeaver/followers","following_url":"https://api.github.com/users/EvilBeaver/following{/other_user}","gists_url":"https://api.github.com/users/EvilBeaver/gists{/gist_id}","starred_url":"https://api.github.com/users/EvilBeaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EvilBeaver/subscriptions","organizations_url":"https://api.github.com/users/EvilBeaver/orgs","repos_url":"https://api.github.com/users/EvilBeaver/repos","events_url":"https://api.github.com/users/EvilBeaver/events{/privacy}","received_events_url":"https://api.github.com/users/EvilBeaver/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-02-20T12:07:31Z","updated_at":"2017-02-20T12:28:30Z","closed_at":null,"body":"При проверке возможен NullReferenceException, если идет обращение к библиотекам. Это из-за того, что в режиме проверки синтаксиса библиотеки компилируются до инициализации глобального контекста.\r\n\r\nА вообще, есть более глубокая проблема: библиотеки начинают выполняться до старта основного процесса, что есть неверно. И даже порождало какой-то глюк (уже не помню). Идеологически, на выполнение ничего не должно попадать до полной компиляции всех зависимостей."},"comment":{"url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/comments/281066948","html_url":"https://github.com/EvilBeaver/OneScript/issues/407#issuecomment-281066948","issue_url":"https://api.github.com/repos/EvilBeaver/OneScript/issues/407","id":281066948,"user":{"login":"dmpas","id":5665433,"avatar_url":"https://avatars.githubusercontent.com/u/5665433?v=3","gravatar_id":"","url":"https://api.github.com/users/dmpas","html_url":"https://github.com/dmpas","followers_url":"https://api.github.com/users/dmpas/followers","following_url":"https://api.github.com/users/dmpas/following{/other_user}","gists_url":"https://api.github.com/users/dmpas/gists{/gist_id}","starred_url":"https://api.github.com/users/dmpas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmpas/subscriptions","organizations_url":"https://api.github.com/users/dmpas/orgs","repos_url":"https://api.github.com/users/dmpas/repos","events_url":"https://api.github.com/users/dmpas/events{/privacy}","received_events_url":"https://api.github.com/users/dmpas/received_events","type":"User","site_admin":false},"created_at":"2017-02-20T12:28:30Z","updated_at":"2017-02-20T12:28:30Z","body":"package-loader тоже может использовать библиотеки и не те, которые сам загружает.\r\n```bsl\r\n#Использовать tempfiles\r\nПроцедура ПриЗагрузкеБиблиотеки(...)\r\n\r\n   // Стырить DLL / OS, положить во временный каталог и загрузить\r\n\r\nКонецПроцедуры\r\n```\r\n\r\ntempfiles должен загрузиться и исполниться, чтобы загрузчик загрузил библиотеку."}}
{"actor":{"display_login":"dmpas"}}