Alexander Momchilov
Alexander Momchilov
WIP WIP WIP do not merge ### Motivation Getting early feedback on integrating the Prism parser into Sorbet. Also, almost all of our parameters should be `const`, lol. I'll add...
### Problem Sorbet let's you reassign local variables to narrow/change their type, e.g.: ```ruby a = T::Array[Integer].new a = a.map(&:to_s) T.reveal_type(a) # Changed to T::Array[String] h = T::Hash[Symbol, Integer].new h.transform_values(&:to_s)...
It's not obvious that ancestors don't get their callbacks invoked unless you know (and remember!) to call `super`, so let's clarify it in the doc.
I found this immensely useful, and I think it's worth publishing right in these docs.
Doxygen's [`\memberof`](https://www.doxygen.nl/manual/commands.html#cmdmemberof) command lets you associate C functions to types, to make them render as if they were actual methods. This is in a similar spirit to `\extends`, which we...
Depends on #3027
All the special characters in the tokens' docs result in garbled HTML: Fixed:
See: https://github.com/OpenCombine/OpenCombine/issues/256 This test will pass for Combine, but fail for OpenCombine (which _does_ use `Mirror` today).
The "real" Combine doesn't use `Mirror` to implement `ObservableObject` as discussed in this thread: https://forums.swift.org/t/how-is-the-published-property-wrapper-implemented/58223/11 Instead, it uses the private [`_forEachField(of:options:body)`](https://github.com/swiftlang/swift/blob/467f25992f5aecd42fcd20a7dfab29a474d1cbd8/stdlib/public/core/ReflectionMirror.swift#L258-L278) reflection method from the standard library. This isn't a...