Avatar
複数エントリで一つのrequirementはthunkで頑張ればなんとかなるかもしれないけど、前提としてこれが必要な気がする。 https://forums.swift.org/t/idea-question-default-arguments-vs-abi-vs-code-size/10823
The current ABI for default arguments generate explicit functions for each default argument in a function. As a simple example, when you call something like this: // In the defining module. func foo(a: Int, b: Int = 42, c: Float = 3.14) { ... } // On the caller side. foo...