<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">We were seeing some issues recently where the stdlib wouldn't get copied (actually lipo'd) into its final destination. Doug Coleman reverted the problem commit yesterday in <a href="https://github.com/apple/swift/pull/5166" class="">https://github.com/apple/swift/pull/5166</a>. Can you update to the latest master and try again?</div><div class=""><br class=""></div><div class="">Jordan</div><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 6, 2016, at 11:40, Christian Hoffmann via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi there,</div><div class=""><br class=""></div><div class="">quick question from someone who likes to get started on the stdlib and</div><div class="">therefore sometimes likes to change an implementation, just to get a better</div><div class="">understanding, what is going on.</div><div class=""><br class=""></div><div class="">So let's say, I changed something in Bool.swift, e.g. to let the</div><div class="">implementation of `description` in the `CustomStringConvertible`</div><div class="">extension return 'YES' or 'NO'.</div><div class=""><br class=""></div><div class="">Ok, so doing a</div><div class="">`./swift/utils/build-script --debug-swift-stdlib --build-subdir=ds --`</div><div class="">compiles fine -> Perfect!</div><div class=""><br class=""></div><div class="">Running the REPL via `./build/ds/swift-macosx-x86_64/bin/swift` gives:</div><div class=""><br class=""></div><div class="">*** You are running Swift's integrated REPL, ***</div><div class="">*** intended for compiler and stdlib ***</div><div class="">*** development and testing purposes only. ***</div><div class="">*** The full REPL is built as part of LLDB. ***</div><div class="">*** Type ':help' for assistance. ***</div><div class="">(swift) let someBool = true</div><div class="">// someBool : Bool = YES</div><div class="">(swift) print (someBool.description)</div><div class="">YES</div><div class=""><br class=""></div><div class="">Once again: Perfect and as expected!</div><div class=""><br class=""></div><div class="">So after seeing, that this was kind of a bad idea and resetting these changes,</div><div class="">re-triggering the same build command</div><div class="">`./swift/utils/build-script --debug-swift-stdlib --build-subdir=ds --`</div><div class="">runs much faster (as expected), BUT:</div><div class="">a newly started REPL gives the same results, as before and not as I</div><div class="">would expect a `true` or `false`.</div><div class=""><br class=""></div><div class="">I also tried to add a new method:</div><div class="">```</div><div class="">let someBool = true</div><div class="">// someBool : Bool = YES</div><div class="">let someBoolStr = someBool.anotherFunc()</div><div class="">LLVM ERROR: Program used external function '__TFSb11anotherFuncfT_SS' which could not be resolved!</div><div class="">```</div><div class=""><br class=""></div><div class="">Once again: After a clean build, everything seems to work perfect. </div><div class="">Any idea, what needs to be "retriggered", so that the REPL or `swiftc` </div><div class="">picks up the new stdlib?</div><div class=""><br class=""></div><div class="">Thank you and Regards,</div><div class="">Christian Hoffmann</div><div class=""><br class=""></div></div>
_______________________________________________<br class="">swift-dev mailing list<br class=""><a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a><br class="">https://lists.swift.org/mailman/listinfo/swift-dev<br class=""></div></blockquote></div><br class=""></body></html>