<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">I’m attempting <a href="https://bugs.swift.org/browse/SR-5982" class="">SR-5982</a>, and so far have been able to check for whenever oldValue is unused during the code synthesis, once the AST has been generated. <div class="">But during parsing the oldValue parameter is always added to the didSet function, and at this stage I’m not sure if it’s possible to walk or check the body for any references to the parameter. </div><div class="">Is it possible to modify the ParameterList of an AccessorDecl in swiftSema, specifically in CodeSynthesis.cpp, so I can call the didSet function without the oldValue parameter whenever it is not needed?</div></body></html>