False positive for FIND of a specific module in a block #1708
Labels
CC.resolved
Issue with CureCode status built, tested or complete
Datatype: module!
Test.written
Type.bug
Submitted by: BrianH
If you attempt to FIND a specific module in a block, it will find the first module in the block, not the specific module you are looking for. This is almost always a false positive. It should return the same module it is looking for (not an "equal" one, the same one).
This currently breaks IMPORT of premade module! values, and DO of modules. I can add a workaround to the source for now.
Imported from: CureCode [ Version: alpha 107 Type: Bug Platform: All Category: Native Reproduce: Always Fixed-in:alpha 110 ]
Imported from: metaeducation#1708
Comments:
Submitted by: BrianH
If this ticket is dismissed (semantics of FIND changing and all that), at least the workaround code works. I'm not pushing for this either way.
Submitted by: BrianH
See #1720 for an alternative suggestion.
Submitted by: Carl
That's bizarre. Trying some tests on it. For now, assume it is fixed and don't work around it.
Submitted by: BrianH
Note: It doesn't even test equivalence - any module will do. I will comment out the workaround code when FIND is verified to work (wrote it already days ago).
The text was updated successfully, but these errors were encountered: