Skip to content

Fix #file usage for 5.3

Compare
Choose a tag to compare
@tanner0101 tanner0101 released this 25 Jun 20:24
38a3ca9
This patch was authored and released by @tanner0101.

Fixes issue with previous #file warning fix in 4.10.1 that caused incorrect file paths to be passed (#2411).

Wrapping the default #file parameter in parentheses prevents it from forwarding to the call site. The parentheses must be added before passing to the methods accepting #filePath.

See new discussion of SE-0274 for more information.