Project

Profile

Help

Bug #2758

closed

Redundant code for computing special properties of a system function call

Added by Michael Kay almost 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
2016-05-26
Due date:
% Done:

100%

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

Description

I don't have any observed symptoms here but the code looks fishy.

The code for SystemFunction.getSpecialProperties (if not overridden in a subclass) does some complex tests on the function metadata and then always returns the value StaticProperty.NON_CREATIVE. It looks to me as if this result is probably correct, but the code used to reach it is therefore quite unncessarily convoluted.

Please register to edit this issue

Also available in: Atom PDF