diff --git a/Source/DafnyCore/Options/DafnyProject.cs b/Source/DafnyCore/Options/DafnyProject.cs index ea747e662ac..55c44aa1dfd 100644 --- a/Source/DafnyCore/Options/DafnyProject.cs +++ b/Source/DafnyCore/Options/DafnyProject.cs @@ -160,7 +160,7 @@ public class DafnyProject : IEquatable { var projectDirectory = Path.GetDirectoryName(Uri.LocalPath); if (value is TomlArray array) { - if (valueType.ValueType == typeof(IEnumerable)) { + if (valueType.ValueType.IsAssignableTo(typeof(IEnumerable))) { return string.Join(" ", array.Select(element => { if (element is string elementString) { return Path.GetFullPath(elementString, projectDirectory!);