{"push_id":1304710021,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"1e0025b8202529262bd45d6f4853071bf14546d2","before":"dbb8df6fa13c8da20e11514d22d7d1c853b36f21","commits":[{"sha":"1e0025b8202529262bd45d6f4853071bf14546d2","author":{"name":"Peter Wang","email":"c8341e96b738da0655692d06de1603d724867b32@gmail.com"},"message":"Do not opt-export `try' goals.\n\nThis fixes a serious issue as `try' goals are not properly written to\n.opt files, so when read back would not actually catch any exceptions.\nBug #420.\n\nAt the point where we are to create the .opt file, the pieces of a `try'\ngoal exist in a \"pre-transformed\" hlds_goal. Teasing apart the pieces to\nresemble the original `try' goal would be non-trivial.\n\ncompiler/intermod.m:\n        Do not export any predicate or function with a clause containing a\n        `try' goal.\n\nlibrary/exception.m\n\tThrow an exception if the dummy predicate\n\t`magic_exception_result/1' is ever called.\n\ntests/hard_coded/Mercury.options:\ntests/hard_coded/Mmakefile:\ntests/hard_coded/intermod_try_goal.exp:\ntests/hard_coded/intermod_try_goal.m:\ntests/hard_coded/intermod_try_goal2.m:\n\tAdd test case.\n\nNEWS:\n\tAnnounce change.","distinct":true,"url":"https://api.github.com/repos/Mercury-Language/mercury/commits/1e0025b8202529262bd45d6f4853071bf14546d2"}]}
{"actor":{"display_login":"wangp"}}