fix: fix examples

This commit is contained in:
Sergey Penkovsky
2025-09-05 09:37:24 +03:00
parent 1cbcce5b38
commit 16cd7199aa
5 changed files with 20 additions and 18 deletions

View File

@@ -141,6 +141,8 @@ void main() {
// Example 2: Without circular dependency detection (dangerous!)
print('2. Same code without circular dependency detection:');
try {
CherryPick.disableGlobalCrossScopeCycleDetection();
CherryPick.disableGlobalCycleDetection();
final scope = CherryPick.openRootScope();
// НЕ включаем обнаружение циклических зависимостей