 Chromium Code Reviews
 Chromium Code Reviews Issue 24975002:
  - Implement a first cut for const String.env in the VM to allow  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
    
  
    Issue 24975002:
  - Implement a first cut for const String.env in the VM to allow  (Closed) 
  Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/| OLD | NEW | 
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2013, 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 import "package:expect/expect.dart"; | |
| 6 | |
| 7 main() { | |
| 8 Expect.equals("theDefault", | |
| 9 const String.env("NOT_IN_ENV", defaultValue:"theDefault")); | |
| 10 Expect.equals("", const String.env("NOT_IN_ENV")); | |
| 11 } | |
| OLD | NEW |