@@ -181,8 +181,8 @@ namespace purescript {
181181#define FOREIGN_BEGIN(NS) namespace NS {\
182182 using namespace purescript;\
183183 DEFINE_FOREIGN_DICTIONARY_AND_ACCESSOR()\
184− static const auto& NS ## $foreign_init = []() {\
184+ static const auto $foreign_exports_init$ = ([]() -> char {\
185185 dict_t& exports = foreign();
186−#define FOREIGN_END return exports; }(); }
186+#define FOREIGN_END return 0; }()); }
187187
188188#endif // purescript_H