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
Copy file name to clipboardExpand all lines: NEWS.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,12 @@ Language changes
8
8
----------------
9
9
10
10
* When a task forks a child, the parent task's task-local RNG (random number generator) is no longer affected. The seeding of child based on the parent task also takes a more disciplined approach to collision resistance, using a design based on the SplitMix and DotMix splittable RNG schemes ([#49110]).
11
+
* A new morespecific rule for methods resolves ambiguities containing Union{} in favor of
12
+
the method defined explicitly to handle the Union{} argument. This makes it possible to
13
+
define methods to explicitly handle Union{} without the ambiguities that commonly would
14
+
result previously. This also lets the runtime optimize certain method lookups in a way
15
+
that significantly improves load and inference times for heavily overloaded methods that
16
+
dispatch on Types (such as traits and constructors).
0 commit comments