class method UrlWithString(aUrlString: not nullable String): not nullable Url;
so i’m not sure where the other comes from. But also note that the class is called Url`. It seems like you might have different “URL” class in scope from somewhere else — could I see complete test case that shows this?
FWIW, your testcase (which I overlooked first) complies clean here with only two expected warnings; no case mismatch and no auto-fix.
2 Messages
CocoaHttpConsoleApplication: Program.pas, line 12 — (H11) Local variable “content” is assigned to but never read
HttpConsoleApplication: Program.pas, line 9 — (H11) Local variable “response” is assigned to but never read
That’d explain it. make sure you count have Foundation in the uses after Elements.RTL. This will not be the only conflict, otherwise. Odd that your test case didn’t have that though? Do you see the happening with the exact project you sent?