Skip to content

Instantly share code, notes, and snippets.

View eernstg's full-sized avatar

Erik Ernst eernstg

  • Google
  • Aarhus, Denmark
View GitHub Profile
@eernstg
eernstg / InstantiateToBound.md
Last active October 16, 2018 11:14
Informal specification of the instantiate to bound mechanism.

This document may be obsolete, if in doubt please refer to the version in the SDK repository.

Feature: Instantiate to Bound

Author: eernst@

Version: 0.9 (2018-10-16)

Status: Implemented.

@eernstg
eernstg / dynamic-members.md
Last active September 4, 2018 14:26
Static analysis of members of dynamic

This document may be obsolete, or it may be a proposed new version; if in doubt please consider the version in the SDK repository (which may not yet exist).

Typing of members of dynamic

Author: eernst@.

Version: 0.2 (2018-09-04)

@eernstg
eernstg / int-to-double.md
Last active August 14, 2018 13:37
Dart Feature Specification: Evaluating integer literals as double values
________ running '/usr/bin/python sdk/tools/generate_buildfiles.py' in '/usr/local/google/home/eernst/devel/dart/work'
Command failed: /usr/local/google/home/eernst/devel/dart/work/sdk/buildtools/linux-x64/gn gen out/DebugIA32 --args=dart_zlib_path="//runtime/bin/zlib" exclude_kernel_service=false is_product=false dart_runtime_mode="develop" dart_stripped_binary="exe.stripped/dart" use_goma=false dart_platform_sdk=false dart_use_wheezy_sysroot=true is_msan=false is_release=false is_clang=true dart_target_arch="ia32" dart_use_tcmalloc=true goma_dir="None" dart_debug=true host_cpu="x86" dart_snapshot_kind="script" is_tsan=false target_os="linux" dart_use_fallback_root_certificates=true target_cpu="x86" is_asan=false is_debug=true
output: ERROR at //build/dart/dart_action.gni:232:11: Assignment had no effect.
"$_dart_root/tools/sdks/dart-sdk/bin/snapshots/kernel-service.dart.snapshot"
^---------------------------------------------------------------------------
You set the variable "dfe" here
@eernstg
eernstg / extreme-upper-lower-bounds.md
Last active May 22, 2018 16:13
Dart 2 feature specification of top/bottom type upper and lower bounds

This document may be obsolete, or it may be a proposed new version; if in doubt please consider the version in the SDK repository (which may not yet exist).

Feature Specification: Upper and Lower Bounds for Extreme Types

Owner: eernst@

Status: Under discussion.

@eernstg
eernstg / interface-conflicts.md
Last active April 16, 2018 16:42
Dart 2 feature specification of interface conflict management

This document may be obsolete, or it may be a proposed new version; if in doubt please consider the version in the SDK repository (which may not yet exist).

Feature Specification: Interface Conflict Management

Owner: eernst@

Status: Under discussion.

@eernstg
eernstg / implicit-creation.md
Last active April 10, 2018 14:32
Feature specification of implicit creation in Dart.

This document may be obsolete, or it may be a proposed new version; if in doubt please consider the version in the SDK repository.

Implicit Creation

Author: eernst@.

Version: 0.7 (2018-04-10)

bool b = false;
void doWork(int i) => print("Do work ($i)");
void bailOut(int i) => print("Bail out ($i)");
void acquire() => print("Acquire the resource");
void release() => print("Release the resource");
// Consider: We want to simplify the following control flow.
@eernstg
eernstg / generic-function-instantiation.md
Last active April 5, 2018 06:50
Dart 2 feature specification of generic function instantiation

This document may be obsolete, or it may be a proposed new version; if in doubt please consider the version in the SDK repository (which may not yet exist).

Generic Function Instantiation

Author: eernst@.

Version: 0.3 (2018-04-05)

@eernstg
eernstg / NoSuchMethodForwarding.md
Last active March 22, 2018 13:34
Informal specification of noSuchMethod forwarding

This document is now obsolete, please refer to the version in the SDK repository.

NoSuchMethod Forwarding

Author: eernst@

Status: Under implementation.

Version: 0.6 (2018-03-22)