Skip to content
New issue

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

MetacelloVersionValidator fails printing in P7 due to missing Object>>name #486

Open
peteruhnak opened this issue Apr 3, 2018 · 0 comments

Comments

@peteruhnak
Copy link

https://github.com/Metacello/metacello/blob/master/repository/Metacello-Core.package/MetacelloValidationIssue.class/instance/printOn..st#L31

Object>>name was removed in P7, so nextPutAll: self callSite name asString; will fail if callSite is e.g. a symbol.

to reproduce:

class := BaselineOf subclass: #BaselineOfIssue.

class compile: 'baseline: spec
	spec
		for: #common
		do: [ spec package: ''Issue'' with: [ spec requires: #(''Missing'') ] ]'.

validations := MetacelloVersionValidator validateBaseline: class.
validations first printString.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant