PR# 19667 Prettify Class uglyfies agent literals
Problem Report Summary
Submitter: rosivaldo
Category: EiffelStudio
Priority: Low
Date: 2020/09/03
Class: Bug
Severity: Non-critical
Number: 19667
Release: 20.05.10.4521 - win64
Confidential: No
Status: Closed
Responsible:
Environment: win64
Synopsis: Prettify Class uglyfies agent literals
Description
An agent literal has the space between feature name and left parentheses removed when the class is prettified.
To Reproduce
Create a simple project with the root class below. Within EiffelStudio class editor, press Ctrl+Shift+P. Notice that the line
f := agent foo (5, ?)
is changed into
f := agent foo(5, ?)
---------------------------------------------
class
APPLICATION
create
make
feature {NONE}
make
local
f: PREDICATE [INTEGER]
do
f := agent foo (5, ?)
print (f (3))
end
feature
foo (i, j: INTEGER): BOOLEAN
do
end
end
Problem Report Interactions
Added eweasel test#pretty033. Fixed in rev#104611 of EiffelStudio 20.11 intermediate release.