From d2962159f7bb04028a20d30a509d18a1ce515847 Mon Sep 17 00:00:00 2001 From: zyrouge Date: Thu, 30 Nov 2023 20:13:55 +0530 Subject: [PATCH] fix: call stack module names --- packages/beize_vm/lib/vm/call_frame.dart | 2 +- packages/beize_vm/pubspec.lock | 8 ++++---- packages/beize_vm/pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/beize_vm/lib/vm/call_frame.dart b/packages/beize_vm/lib/vm/call_frame.dart index 6d14b05..93e8dd7 100644 --- a/packages/beize_vm/lib/vm/call_frame.dart +++ b/packages/beize_vm/lib/vm/call_frame.dart @@ -76,7 +76,7 @@ class BeizeCallFrame { final BeizeCallFrame frame = BeizeCallFrame( vm: vm, parent: this, - moduleIndex: moduleIndex, + moduleIndex: function.constant.moduleIndex, function: function.constant, namespace: namespace, ); diff --git a/packages/beize_vm/pubspec.lock b/packages/beize_vm/pubspec.lock index 0fc9077..216b97d 100644 --- a/packages/beize_vm/pubspec.lock +++ b/packages/beize_vm/pubspec.lock @@ -12,18 +12,18 @@ packages: dependency: transitive description: name: lint - sha256: f4bd4dbaa39f4ae8836f2d1275f2f32bc68b3a8cce0a0735dd1f7a601f06682a + sha256: "77b3777e8e9adca8e942da1e835882ae3248dfa00488a2ebbdbc1f1a4aa3f4a7" url: "https://pub.dev" source: hosted - version: "2.1.2" + version: "2.2.0" zlint: dependency: "direct dev" description: path: "." ref: HEAD - resolved-ref: "9a635be15e5dead4913b1231fe9e53c060a13640" + resolved-ref: "9f3fc307c43ccb41de401083ff16b1e2db4479b0" url: "https://github.com/zyrouge/dart_zlint.git" source: git version: "0.0.0" sdks: - dart: ">=3.0.0 <4.0.0" + dart: ">=3.1.0 <4.0.0" diff --git a/packages/beize_vm/pubspec.yaml b/packages/beize_vm/pubspec.yaml index 17ca8f2..9b6df74 100644 --- a/packages/beize_vm/pubspec.yaml +++ b/packages/beize_vm/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.0 publish_to: none environment: - sdk: ">=2.18.0 <3.0.0" + sdk: ">=3.0.0 <4.0.0" dependencies: beize_shared: