Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(365)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: pkg/kernel/testcases/interpreter/static_invocation_test.dart
Issue
2841803002
:
Add initial tests for Kernel interpreter (Closed)
Patch Set: Apply comments
Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
pkg/kernel/lib/interpreter/interpreter.dart
pkg/kernel/test/interpreter/interpreter.status
pkg/kernel/test/interpreter/suite.dart
pkg/kernel/test/interpreter/testing.json
pkg/kernel/testcases/interpreter/print_test.dart
pkg/kernel/testcases/interpreter/print_test.dart.expect
pkg/kernel/testcases/interpreter/static_invocation_test.dart
pkg/kernel/testcases/interpreter/static_invocation_test.dart.expect
View unified diff
|
Download patch
« pkg/kernel/test/interpreter/suite.dart
('K') |
« pkg/kernel/testcases/interpreter/print_test.dart.expect
('k') |
pkg/kernel/testcases/interpreter/static_invocation_test.dart.expect »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
2
// for details. All rights reserved. Use of this source code is governed by a
3
// BSD-style license that can be found in the LICENSE file.
4
5
library static_invocation_test;
6
7
/// Simple program containing static invocations.
8
///
9
/// The log of this test is used to verify the order of execution and evaluation
10
/// of function body, arguments and static invocation expression.
11
void main() {
12
a();
13
b(1, 9);
14
print(b(1, 9));
15
var retD = d();
16
print(c(37));
17
print(retD);
18
}
19
20
void a() {}
21
22
void b(int n, int m) {
23
print(n);
24
print(m);
25
print(n + m);
26
}
27
28
String c(int n) {
29
print('c:$n');
30
return "d:${d()}";
31
}
32
33
int d() {
34
a();
35
return 37;
36
}
OLD
NEW
« pkg/kernel/test/interpreter/suite.dart
('K') |
« pkg/kernel/testcases/interpreter/print_test.dart.expect
('k') |
pkg/kernel/testcases/interpreter/static_invocation_test.dart.expect »
('j') |
no next file with comments »
Issue 2841803002: Add initial tests for Kernel interpreter (Closed)
Created 3 years, 8 months ago by zhivkag
Modified 3 years, 7 months ago
Reviewers: Dmitry Stefantsov, Kevin Millikin (Google)
Base URL:
Comments: 9
This is Rietveld
408576698