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

Error in importing comments of PharoMethod #832

Open
NicolasAnquetil opened this issue Oct 5, 2024 · 0 comments
Open

Error in importing comments of PharoMethod #832

NicolasAnquetil opened this issue Oct 5, 2024 · 0 comments
Labels

Comments

@NicolasAnquetil
Copy link
Contributor

In a model of AIVectorTest generated in Moose 12
the method testUnitVector as several comments:

AIVectorTest >> testUnitVector
	"comment stating purpose of message"

	"no longer double in pharo"

	"self assert: v unitVector length asFloat = 1.0d asFloat.
	self assert: w unitVector length asFloat = 1.0d asFloat"

	self assert: v unitVector length asFloat equals: 1.0	"here,something special in pharo. Those two floats have the same values but the egality test return false "	"self assert: (tmp := w unitVector length asFloat) = 1.0."

But the FamixStMethod has only 3 FamixStComment:

  • "comment stating purpose of message"
  • "no longer double in pharo"
  • "self assert: v unitVector length asFloat = 1.0d asFloat...

The last one is not there

maybe because it is the end of the method?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant