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

Issue 2971243003: fix #30094, assert should work with a function (Closed)

Created:
3 years, 5 months ago by Jennifer Messerly
Modified:
3 years, 5 months ago
Reviewers:
vsm
CC:
dev-compiler+reviews_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Patch Set 1 #

Total comments: 1

Patch Set 2 : fix #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+134 lines, -82 lines) Patch
M pkg/dev_compiler/lib/sdk/ddc_sdk.sum View 1 Binary file 0 comments Download
M pkg/dev_compiler/lib/src/compiler/code_generator.dart View 1 2 chunks +18 lines, -7 lines 0 comments Download
M pkg/dev_compiler/test/browser/language_tests.js View 1 1 chunk +0 lines, -1 line 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/classes.dart View 1 1 chunk +0 lines, -1 line 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/errors.dart View 1 1 chunk +3 lines, -4 lines 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart View 1 1 chunk +14 lines, -5 lines 2 comments Download
M pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/runtime.dart View 1 1 chunk +1 line, -1 line 0 comments Download
M pkg/dev_compiler/tool/input_sdk/private/js_helper.dart View 1 1 chunk +6 lines, -9 lines 1 comment Download
M tests/language_strong/assert_with_message_test.dart View 1 2 chunks +3 lines, -3 lines 2 comments Download
M tests/language_strong/assertion_test.dart View 1 1 chunk +89 lines, -51 lines 1 comment Download

Messages

Total messages: 9 (2 generated)
Jennifer Messerly
3 years, 5 months ago (2017-07-07 00:10:16 UTC) #2
vsm
https://codereview.chromium.org/2971243003/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart (right): https://codereview.chromium.org/2971243003/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart#newcode705 pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart:705: if (JS('bool', '!#', condition)) throwAssertionError(message); If the static type ...
3 years, 5 months ago (2017-07-07 12:38:47 UTC) #3
vsm
On 2017/07/07 12:38:47, vsm wrote: > https://codereview.chromium.org/2971243003/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart > File pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart > (right): > > https://codereview.chromium.org/2971243003/diff/1/pkg/dev_compiler/tool/input_sdk/private/ddc_runtime/operations.dart#newcode705 ...
3 years, 5 months ago (2017-07-07 17:45:54 UTC) #4
Jennifer Messerly
good catch! the existing test case was missing a bunch of cases. I've expanded test ...
3 years, 5 months ago (2017-07-07 23:43:17 UTC) #5
Jennifer Messerly
PTAL :)
3 years, 5 months ago (2017-07-07 23:43:29 UTC) #6
vsm
lgtm!
3 years, 5 months ago (2017-07-10 13:03:12 UTC) #7
Jennifer Messerly
3 years, 5 months ago (2017-07-14 05:52:00 UTC) #9
Message was sent while issue was closed.
Committed patchset #2 (id:10001) manually as
418d11fbd6800f8e3d8e3e3e4239f03ce9372a0e (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698