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

Side by Side Diff: tests/language/transitive_private_library_access_test.dart

Issue 1066613004: Remove embedder-package scheme (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « runtime/bin/builtin.dart ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2015, 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 // Dart test program to check that we can resolve unqualified identifiers
5
6 // Import 'dart:typed_data' which internally imports 'dart:_internal'.
7 import 'dart:typed_data';
8
9 import 'package:expect/expect.dart';
10
11 main() {
12 bool exceptionCaught = false;
13 try {
14 // Attempt to access something in 'dart:_internal'.
15 return ClassID.GetID(4);
16 Expect.fail("Should have thrown an exception");
17 } catch (e) {
18 exceptionCaught = true;
19 }
20 Expect.isTrue(exceptionCaught);
21 }
OLDNEW
« no previous file with comments | « runtime/bin/builtin.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698