You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on (#44) and noticed that description() calls the stdlib method in the context of NBKBinaryInteger. This is because the NBKBinaryInteger does not have default parameters, but the Swift.BinaryInteger convenience does.
The solution is either removing the Swift.BinaryInteger defaults or adding this NBKBinaryInteger extension:
extensionNBKBinaryInteger{
// I thought this would cause infinite recursion, but apparently it doesn't.
@inlinablepublicfunc description(radix:Int=10, uppercase:Bool=false)->String{self.description(radix: radix, uppercase: uppercase)}}
The text was updated successfully, but these errors were encountered:
I'm working on (#44) and noticed that
description()
calls the stdlib method in the context of NBKBinaryInteger. This is because the NBKBinaryInteger does not have default parameters, but the Swift.BinaryInteger convenience does.The solution is either removing the Swift.BinaryInteger defaults or adding this NBKBinaryInteger extension:
The text was updated successfully, but these errors were encountered: