Regent type mismatch error sometimes reports matching types #491
Labels
backlog
Feature/fix that is desirable, but not currently planned
enhancement
Regent
Issues pertaining to Regent
Sometimes the Regent compiler gives type mismatch errors where it reports two identical types. The example program below results in the error message: "type mismatch in assignment: expected region(ispace(int1d), int32) but got region(ispace(int1d), int32)". I've had several questions about similar examples from students during cs315b, and also since the class ended from those continuing to work with Regent. I believe one of those examples was due to a struct or field space being both imported and defined. I think that it could help alleviate confusion to give a more informative error message.
The text was updated successfully, but these errors were encountered: