{"push_id":760076560,"size":2,"distinct_size":2,"ref":"refs/heads/string-as-rec","head":"1bd8d4034805b39384e3c625fa753e00b639527b","before":"2f01fb9098565000b20e680646f928f9bd632738","commits":[{"sha":"a27f4d322da89babfe0a9ec00f3984cf1409d7cf","author":{"email":"2b94302d36b86f447dddbe1183d3dd7ada803772@cray.com","name":"Thomas H Hildebrandt"},"message":"Fix for no-local compile-time errors.\n\nTest cases\n        optimizations/bulkcomm/asenjo/ptransDR/v2/ptrans.1.comp.out.tmp:1:\n        release/examples/benchmarks/hpcc/stream-ep.comp.out.tmp:1:\nwere failing under no-local.\n\nCode for inserting autoCopy calls when setting up task function calls in\ntaskMayOutliveTaskArg() calls findTaskScope() which in turn calls\nfindSiblingCallPreceding().  The purpose of this is to find the scope in which\na given actual argument is declared and compare this with the scope in which\nthe task is set up.  If the actual is declared inside that scope, then a copy\nis required (because it may die before the task completes).\n\nThe findTaskScope function assumes that a call to _upEndCount() appears just\ninside the task scope, and uses this as a sentinal to identify the task scope.\nIn the affected test cases, however, the _upEndCount() call is inside a nested\nscope.  The existing algorithm does not descend into nested blocks, so it\nmisses the _upEndCount() call entirely.  That is the cause of the compile-time\nerror.\n\nThe fix involves rewriting the search algorithm so it does, in fact, descend\ninto local blocks.\n\nPasses the above-mentioned two tests without creating any new regressions in\nno-local.\n\n[submitted on behalf of vass]","distinct":true,"url":"https://api.github.com/repos/chapel-lang/chapel/commits/a27f4d322da89babfe0a9ec00f3984cf1409d7cf"},{"sha":"1bd8d4034805b39384e3c625fa753e00b639527b","author":{"email":"2b94302d36b86f447dddbe1183d3dd7ada803772@cray.com","name":"Tom Hildebrandt"},"message":"Merge pull request #2317 from hildeth/fixNoLocalCompErrors\n\nFix for no-local compile-time errors.","distinct":true,"url":"https://api.github.com/repos/chapel-lang/chapel/commits/1bd8d4034805b39384e3c625fa753e00b639527b"}]}