gedaiu / fluent-asserts

DLang fluent assertions done right
http://fluentasserts.szabobogdan.com/
MIT License
43 stars 6 forks source link

Deprecation of `this` as a Type #86

Closed vnayar closed 5 years ago

vnayar commented 5 years ago

Since DMD v2.083.1, a large number of compilation warnings in the format below have been observed:

../../.dub/packages/fluent-asserts-0.9.0/fluent-asserts/core/fluentasserts/core/basetype.d(22,17): Deprecation: Using this as a type is deprecated. Use typeof(this) instead
gedaiu commented 5 years ago

it looks like you use an older version. Does it work with the latest one?

vnayar commented 5 years ago

Ah, you are correct, the version of Fluent-Asserts itself skipped my mind. I was using 0.9.0. Everything works find with 0.12.3.