AOP advices fail to compile for functions whose names are also BIFs

Description

(In Lucee at least) you can have a method in a CFC that has the same name as a BIF. An example is "render()" which conflicts with the new Lucee 5 BIF. WireBox's AOP will fail when trying to compile the generated function stub since it's included outside of a CFC. Jesse Shaffer has submitted the following fix to generate the method with a random name, and then set it by reference into the correct location.

Activity

Show:
Brad Wood
June 3, 2016, 11:05 PM

I think it might need to be amended to handle public/private correctly with the variable and this scope.

Fixed

Assignee

Luis Majano

Reporter

Jesse Shaffer

Labels

None

Components

Fix versions

Affects versions

Priority

Major
Configure