Closed lifflander closed 7 years ago
Minimal reproducer of this frontend bug:
#include <darma.h> void darma_main_task(std::vector<std::string> args) { auto cur_iter = darma::initial_access<size_t>(); darma::experimental::create_work_while([=]{ return cur_iter.get_value() < 29; }).do_([=]{ darma::create_work(reads(cur_iter),[=]{ cur_iter.get_value(); }); }); } DARMA_REGISTER_TOP_LEVEL_FUNCTION(darma_main_task);
Assertion failed: (new_ptr == nullptr), function make_captured_use_holder, file /Users/jliffla/codes/clean/darma-build/repos/frontend/src/include/darma/impl/capture.h, line 560.
frontend commit: 84a1af3ca89d6d503e6044bcf67bac3dc3e932a6 darma-build commit: 640254bd255e33649234d3de9cf0ff4d46b55a72
closed by fcf7309b263c3637acb003546f5de74a4a68594d
Minimal reproducer of this frontend bug:
Assertion failed: (new_ptr == nullptr), function make_captured_use_holder, file /Users/jliffla/codes/clean/darma-build/repos/frontend/src/include/darma/impl/capture.h, line 560.