<div dir="ltr"><div>Hi there,</div><div><br></div><div>quick question from someone who likes to get started on the stdlib and</div><div>therefore sometimes likes to change an implementation, just to get a better</div><div>understanding, what is going on.</div><div><br></div><div>So let&#39;s say, I changed something in Bool.swift, e.g. to let the</div><div>implementation of `description` in the `CustomStringConvertible`</div><div>extension return &#39;YES&#39; or &#39;NO&#39;.</div><div><br></div><div>Ok, so doing a</div><div>`./swift/utils/build-script --debug-swift-stdlib --build-subdir=ds --`</div><div>compiles fine -&gt; Perfect!</div><div><br></div><div>Running the REPL via `./build/ds/swift-macosx-x86_64/bin/swift` gives:</div><div><br></div><div>***  You are running Swift&#39;s integrated REPL,  ***</div><div>***  intended for compiler and stdlib          ***</div><div>***  development and testing purposes only.    ***</div><div>***  The full REPL is built as part of LLDB.   ***</div><div>***  Type &#39;:help&#39; for assistance.              ***</div><div>(swift) let someBool = true</div><div>// someBool : Bool = YES</div><div>(swift) print (someBool.description)</div><div>YES</div><div><br></div><div>Once again: Perfect and as expected!</div><div><br></div><div>So after seeing, that this was kind of a bad idea and resetting these changes,</div><div>re-triggering the same build command</div><div>`./swift/utils/build-script --debug-swift-stdlib --build-subdir=ds --`</div><div>runs much faster (as expected), BUT:</div><div>a newly started REPL gives the same results, as before and not as I</div><div>would expect a `true` or `false`.</div><div><br></div><div>I also tried to add a new method:</div><div>```</div><div>let someBool = true</div><div>// someBool : Bool = YES</div><div>let someBoolStr = someBool.anotherFunc()</div><div>LLVM ERROR: Program used external function &#39;__TFSb11anotherFuncfT_SS&#39; which could not be resolved!</div><div>```</div><div><br></div><div>Once again: After a clean build, everything seems to work perfect. </div><div>Any idea, what needs to be &quot;retriggered&quot;, so that the REPL or `swiftc` </div><div>picks up the new stdlib?</div><div><br></div><div>Thank you and Regards,</div><div>Christian Hoffmann</div><div><br></div></div>