Project

Profile

Help

Bug #5093

closed

AssertionError during trace code injection

Added by Michael Kay over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2021-09-15
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:

Description

Certain instructions require operands of a specific expression type. Injecting trace code around such an operand can cause an AssertionError. An example is test case -s:iterate -t:iterate-033, when run with the -T option.

The solution is to change ExpressionTool.injectCode() to refrain from injecting an expression if the operand has the property isConstrainedClass().

Please register to edit this issue

Also available in: Atom PDF