Closed NKarolak closed 4 years ago
Hi Natalie, I could reproduce that, even if it should work. I'll look at it. Furthermore it looks like the indentation is wrong (compared to the indent of Assert.IsTrue)? I'm asking because I couldn't reproduce that.
Thanks David :)
I think the indentation was fine; it just was not copied correctly to GitHub. Just mind the content, not the format ;-)
Okay, thanks for clarifying :)
Okay, I found the problem and fixed it. It's already working if it's a parameter of a procedure inside the same object, but if it's in another object - like in this case in the Assert-Codeunit - then it failed finding the return type. As I plan to make further improvements to my extension the next week I'll publish it together with these planned changes. Hope you can wait a few days for that :)
Sure, thanks :)
Working, thank you :-)
In a test codeunit, create the following procedure:
Run the quick fix on MyFunction. Actual result:
Expected result: