Skip to content

Commit

Permalink
Merge pull request #198 from Noobware1/fixes
Browse files Browse the repository at this point in the history
Fixes
  • Loading branch information
ethanblake4 authored Mar 29, 2024
2 parents 0d6861a + 5176212 commit ec0c718
Show file tree
Hide file tree
Showing 12 changed files with 2,370 additions and 942 deletions.
1 change: 1 addition & 0 deletions lib/src/eval/compiler/reference.dart
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,7 @@ class IndexedReference implements Reference {
final result = _variable.invoke(ctx, '[]', [_index]);
_variable = result.target!;
_index = result.args[0];

return result.result;
}

Expand Down
1 change: 0 additions & 1 deletion lib/src/eval/runtime/ops/objects.dart
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ class InvokeDynamic implements EvcOp {
runtime._prOffset = object.offset;
return;
}

final method = ((object as $Instance).$getProperty(runtime, _method)
as EvalFunction);
try {
Expand Down
1 change: 1 addition & 0 deletions lib/src/eval/shared/stdlib/core.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import 'package:dart_eval/dart_eval.dart';
import 'package:dart_eval/dart_eval_bridge.dart';
import 'package:dart_eval/src/eval/shared/stdlib/async/stream.dart';
import 'package:dart_eval/src/eval/shared/stdlib/core/base.dart';
Expand Down
2 changes: 0 additions & 2 deletions lib/src/eval/shared/stdlib/core/collection.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import 'dart:math';

import 'package:dart_eval/dart_eval_bridge.dart';
import 'package:dart_eval/src/eval/shared/stdlib/core/iterator.dart';
import 'package:dart_eval/stdlib/core.dart';
import 'package:dart_eval/src/eval/runtime/exception.dart';

part 'iterable.dart';
part 'list.dart';
Expand Down
Loading

0 comments on commit ec0c718

Please sign in to comment.