Compile error using old source code with DUnitX
I moved my code over Delphi versions without change. The upgrade from Delphi 10.4 to Delphi 13 failed my DUnitX testcases. Working code Delphi 10.4: assert.AreEqual(aList.Count, 3, 'Items count OK ?'); New working code Delphi 13.1: assert.AreEqual<Integer>(aList.Count,Integer(3), 'Items count OK ?'); The compiler cannot determine the type parameter for the generic any longer. Has my old solution been wrong?
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.