Вопрос

I recently unzipped the subdirs windows and src from dmd.2.060.zip. Then I tried to import std.contracts; but the compiler did not like it:

Error: module contracts is in file 'std\contracts.d' which cannot be read

I could not find the file by hand either. What is broken ?

Have contracts.d been replaced by another file ?

Maybe I must compile something before use ?

Это было полезно?

Решение

You want to use the std.exception module now.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top