PR# 19663 Prettify Class duplicates unary operator preceded by other operator

Problem Report Summary
Submitter: rosivaldo
Category: EiffelStudio
Priority: Low
Date: 2020/08/19
Class: Bug
Severity: Non-critical
Number: 19663
Release: EiffelStudio 20.05 (20.05.10.4521 - win64)
Confidential: No
Status: Open
Responsible:
Environment: win64
Synopsis: Prettify Class duplicates unary operator preceded by other operator

Description
Prettify Class duplicates unary operator when it is preceded by other operator.
To Reproduce
1. Create and compile a project with the root class below. 
2. Within the class editor, press Ctrl+Shift+P.
3. Notice that the line
			print (5 + # Current)
will be changed to
			print (5 +# # Current)

class
	APPLICATION

create
	make

feature {NONE}

	make
		do
			print (5 + # Current)
		end

feature

	count alias "#": INTEGER
		do
		end

end
Problem Report Interactions