Weird std.path API?
aberba
karabutaworld at gmail.com
Mon Jul 8 07:29:27 UTC 2024
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.
More information about the Digitalmars-d-learn
mailing list