Commit Graph

2 Commits

Author SHA1 Message Date
Erik Ernst 61b9b42b70 Rename a few declarations in test instance_creation.dart
This CL renames a declaration in the test instance_creation.dart:
The class `K` is renamed to `L`, and its type parameters are renamed
from `A` and `B` to `S` and `T`.

The point is that these changes eliminate situations which are linted
with the update in https://github.com/dart-lang/linter/issues/5066.

Change-Id: Iac6b77dc8cfeebedef98a739817049afba1f41d3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/382890
Commit-Queue: Erik Ernst <eernst@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2024-09-03 14:35:09 +00:00
Alexander Markov 3abf78212c Bytecode compiler
Add dart2bytecode tool which takes Dart sources and produces
Dart bytecode. The tool uses common front-end (CFE) to parse Dart
source code and contains bytecode generator which translates
kernel AST to bytecode.

Change-Id: I90bd6e72c619cf0edc556da0640760b30e81091d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/378560
Commit-Queue: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Slava Egorov <vegorov@google.com>
2024-08-08 18:08:58 +00:00