Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 2684963004: Move _fatal to dart:async (Closed)

Created:
3 years, 10 months ago by Kevin Millikin (Google)
Modified:
3 years, 10 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Move _fatal to dart:async The function _fatal is only used in dart:async. Change it from a public function of dart:_internal, which can be invoked via mirrors, into a private function of dart:async. R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/bbf5b89473f38f4b1c674c83411fc02cb68e0abe

Patch Set 1 #

Patch Set 2 : Restore the original behavior #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -10 lines) Patch
M runtime/lib/async_patch.dart View 1 3 chunks +6 lines, -3 lines 0 comments Download
M runtime/lib/internal_patch.dart View 1 1 chunk +0 lines, -3 lines 0 comments Download
M runtime/lib/object.cc View 1 1 chunk +3 lines, -3 lines 0 comments Download
M runtime/vm/bootstrap_natives.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
Kevin Millikin (Google)
Context for this change: the private function _fatal in dart:core was being called from dart:async. ...
3 years, 10 months ago (2017-02-09 13:41:34 UTC) #2
Lasse Reichstein Nielsen
Break them. Break them all!
3 years, 10 months ago (2017-02-09 15:30:02 UTC) #3
siva
+rmacnak
3 years, 10 months ago (2017-02-09 22:49:11 UTC) #5
rmacnak
On 2017/02/09 22:49:11, siva wrote: > +rmacnak This is not correct. dart:_internal includes implementations of ...
3 years, 10 months ago (2017-02-09 23:08:50 UTC) #6
Lasse Reichstein Nielsen
On 2017/02/09 23:08:50, rmacnak wrote: > On 2017/02/09 22:49:11, siva wrote: > > +rmacnak > ...
3 years, 10 months ago (2017-02-10 06:53:57 UTC) #7
Kevin Millikin (Google)
On 2017/02/09 23:08:50, rmacnak wrote: > _fatal should instead be removed and replaced with a ...
3 years, 10 months ago (2017-02-10 09:44:04 UTC) #8
Kevin Millikin (Google)
I've restored the original (that is: FATAL, not throw NoSuchMethodError) behavior. PTAL.
3 years, 10 months ago (2017-02-10 11:59:43 UTC) #10
hausner
I think restoring the originally intended behavior is better. I would not want Dart code ...
3 years, 10 months ago (2017-02-10 16:26:52 UTC) #13
rmacnak
lgtm
3 years, 10 months ago (2017-02-14 17:59:38 UTC) #14
Kevin Millikin (Google)
3 years, 10 months ago (2017-02-20 10:53:01 UTC) #16
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
bbf5b89473f38f4b1c674c83411fc02cb68e0abe (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698