Weird std.path API?

user1234 user1234 at 12.de
Mon Jul 8 13:32:02 UTC 2024


On Monday, 8 July 2024 at 07:29:27 UTC, aberba wrote:
> On Sunday, 7 July 2024 at 15:35:36 UTC, Andrey Zherikov wrote:
>> On Sunday, 7 July 2024 at 14:49:52 UTC, Anonymouse wrote:
>>> On Sunday, 7 July 2024 at 14:41:31 UTC, Andrey Zherikov wrote:
>>>> ```d
>>>> import std.path;
>>>>
>>>> // Error: no property `asNormaliedPath` for 
>>>> `dirName("/sandbox/onlineapp.d")` of type `string`
>>>> auto p = __FILE_FULL_PATH__.dirName.asNormaliedPath;
>>>> ```
>>>
>>> `asNormalizedPath` is misspelled.
>>
>> My bad, sorry :)
>> My blurred eyes didn't catch that
>
> I use a plugin called Code Spell Checker in VS code...or maybe 
> spell checker which highlights spelling mistakes in methods and 
> strings.

Does it help in this case ?


More information about the Digitalmars-d-learn mailing list