We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I wonder if we could not use slots to handle such cases
opacity: aNumber self assert: [ aNumber between: 0.0 and: 1.0 ] description: [ 'Opacity value must be within interval [0..1]' ]. opacity isNotNil ifTrue: [ (BlImmutableObjectChangeError object: self) signal ]. self opacity = aNumber ifTrue: [ ^ self ]. opacity := aNumber
The text was updated successfully, but these errors were encountered:
I'd be better, I agree. We are converting the asserts of the style of aNumber between: 0.0 and: 1.0 to method comments.
aNumber between: 0.0 and: 1.0
Sorry, something went wrong.
The assert for range are useless. in Morphic I do not recall problem with such design in alpha or others.
Now the immutability is something else to me.
No branches or pull requests
I wonder if we could not use slots to handle such cases
The text was updated successfully, but these errors were encountered: