google / google/reflectable.dart

Transformer should process multiple entry-points even when it encounters errors

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Dart
Stars
386
Forks
67
PR merge metrics
No merged PRs in 30d

Description

This issue was extracted from issue #37, submitted by @zoechi.

The issue is that the transformer stops with an error message whenever it encounters a program that contains constructs which prevent the transformation from being completed (e.g., if the super initializer in a subclass of class `Reflectable` passes a non-const argument), but it would be more useful if it were to emit the error message such that the programmer knows that one of the entry points could not be transformed (the error message should of course contain information about the location in the code that causes the transformation to stop), and then proceed to transform the remaining entry points.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.