{"id":876,"date":"2020-09-14T16:16:00","date_gmt":"2020-09-14T22:16:00","guid":{"rendered":"https:\/\/www.great-white-software.com\/blog\/?p=876"},"modified":"2020-09-25T21:34:21","modified_gmt":"2020-09-26T03:34:21","slug":"compiler-bugs","status":"publish","type":"post","link":"https:\/\/www.great-white-software.com\/blog\/2020\/09\/14\/compiler-bugs\/","title":{"rendered":"Compiler bugs"},"content":{"rendered":"\n<p>I have a list of compiler bugs I&#8217;ve reported (15) to be accurate<\/p>\n\n\n\n<p>1 has been marked fixed<\/p>\n\n\n\n<p>3 closed for various reasons<\/p>\n\n\n\n<p>Most are marked &#8220;reproducible&#8221; and I&#8217;d sure love to see them fixed<\/p>\n\n\n\n<p>\n<a href=\"http:\/\/feedback.xojo.com\/case\/55502\">55502<\/a> adding a constant to a class cant use an expression while one in code can Xojo <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/56376\">56376<\/a> compiler misidentifies syntax error on shared factory in super class <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/56378\">56378<\/a> factory pattern cant be implemented properly in Xojo esp when items are in a namespace<br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/56765\">56765<\/a> compiler weird error message seems to be linked to wrong order of evaluation <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/57500\">57500<\/a> debugging a while loop in debugger appears to skip entire loop <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/58900\">58900<\/a> compiler incorrectly identifies unused local variables <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/59004\">59004<\/a> endexception constructor should probably be restricted in some fashion <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/59061\">59061<\/a> compiler gives a very ambiguous error message on select case statement <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/56264\">56264<\/a> make it so when a method returns an array you can immediately index into the return result <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/56272\">56272<\/a> optional parameters can only be &#8220;right most&#8221; parameters <br>\n<a href=\"http:\/\/feedback.xojo.com\/case\/60207\">60207<\/a> command line arguments for debug run cannot use a #constant <\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a list of compiler bugs I&#8217;ve reported (15) to be accurate 1 has been marked fixed 3 closed for various reasons Most are marked &#8220;reproducible&#8221; and I&#8217;d sure love to see them fixed 55502 adding a constant to a class cant use an expression while one in code can Xojo 56376 compiler misidentifies &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.great-white-software.com\/blog\/2020\/09\/14\/compiler-bugs\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Compiler bugs&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-876","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/comments?post=876"}],"version-history":[{"count":2,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/876\/revisions"}],"predecessor-version":[{"id":914,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/posts\/876\/revisions\/914"}],"wp:attachment":[{"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/media?parent=876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/categories?post=876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.great-white-software.com\/blog\/wp-json\/wp\/v2\/tags?post=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}