Skip to content

Commit

Permalink
usesLibrary test now passes
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardDrummer committed Sep 11, 2023
1 parent 3146dc2 commit e6a4a50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/DafnyCore/Options/DafnyProject.cs
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ public class DafnyProject : IEquatable<DafnyProject> {
var projectDirectory = Path.GetDirectoryName(Uri.LocalPath);

if (value is TomlArray array) {
if (valueType.ValueType == typeof(IEnumerable<FileInfo>)) {
if (valueType.ValueType.IsAssignableTo(typeof(IEnumerable<FileInfo>))) {
return string.Join(" ", array.Select(element => {
if (element is string elementString) {
return Path.GetFullPath(elementString, projectDirectory!);
Expand Down

0 comments on commit e6a4a50

Please sign in to comment.