문제

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