From f75829b879d8e9ab5ddfa2bdd2cab4e99454bfee Mon Sep 17 00:00:00 2001 From: Boris Shingarov Date: Fri, 13 Oct 2023 05:04:21 -0400 Subject: [PATCH] Allow users to use MathNotation MachineArithmetic-MachineArithmetic is the highest level within MachineArithmetic that can work without MathNotation. Refinements and above (Sprite etc) definitely use it all over the place. --- pharo/check-deps.st | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/pharo/check-deps.st b/pharo/check-deps.st index c9560aca5..e8046adfe 100644 --- a/pharo/check-deps.st +++ b/pharo/check-deps.st @@ -26,7 +26,6 @@ cycleDetector cycles do:[:cycle| i) PreSmalltalks has no dependencies within MA except 'PreSmalltalks-Pharo' ii) MachineArithmetic has no dependencies within MA except 'PreSmalltalks' and its dependencies - iii) Nothing depends on MachineArithmetic-MathNotation except its tests. " depChecker := DADependencyChecker new. visited := Set new. @@ -46,19 +45,6 @@ unwanted notEmpty ifTrue:[ Transcript show: 'ERROR: Unwanted dependencies of MachineArithmetic: '; show: unwanted printString; cr. ]. -"iii)" -packages do:[:package | - (package beginsWith: 'MachineArithmetic-MathNotation') ifFalse:[ - | deps | - deps := packages & (depChecker dependenciesOf: package). - Transcript show: package -> deps; cr. - (deps includes: 'MachineArithmetic-MathNotation') ifTrue:[ - error := true. - Transcript show: 'ERROR: Unwanted dependency of ', package , ': MachineArithmetic-MathNotation'; cr. - ]. - ]. -]. - " 4. Show help and exit (with proper error code) @@ -77,4 +63,4 @@ ERROR: Some package(s) has dependency issues, see ERROR: messages above!! '. Smalltalk exit: 1. ]. -Smalltalk exit: 0 \ No newline at end of file +Smalltalk exit: 0