| Index: frog/leg/compiler.dart
|
| diff --git a/frog/leg/compiler.dart b/frog/leg/compiler.dart
|
| index 5ad972a6278efe19a9690bacaeb3ca169da3c23a..7751b8b997d240d79899e348624a182b5587c12f 100644
|
| --- a/frog/leg/compiler.dart
|
| +++ b/frog/leg/compiler.dart
|
| @@ -268,7 +268,8 @@ class Compiler implements DiagnosticListener {
|
| String codegen(WorkItem work) {
|
| String code;
|
| if (work.element.kind == ElementKind.FIELD
|
| - || work.element.kind == ElementKind.PARAMETER) {
|
| + || work.element.kind == ElementKind.PARAMETER
|
| + || work.element.kind == ElementKind.FIELD_PARAMETER) {
|
| constantHandler.compileWorkItem(work);
|
| return null;
|
| } else {
|
|
|