diff options
author | wuestholz <unknown> | 2014-12-26 11:06:02 +0100 |
---|---|---|
committer | wuestholz <unknown> | 2014-12-26 11:06:02 +0100 |
commit | b6cf2d76e377af52366961d6cdee4ecb299a4e4a (patch) | |
tree | f653cc53047359e800ee09bdaf4c84786ffab351 | |
parent | 04d57c313ae3df30cb8a0c383ef0ae4ceee361ac (diff) |
Minor change
-rw-r--r-- | Source/Dafny/DafnyMain.cs | 4 | ||||
-rw-r--r-- | Source/DafnyDriver/DafnyDriver.cs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/Dafny/DafnyMain.cs b/Source/Dafny/DafnyMain.cs index 7c522bd8..012ca4df 100644 --- a/Source/Dafny/DafnyMain.cs +++ b/Source/Dafny/DafnyMain.cs @@ -29,7 +29,7 @@ namespace Microsoft.Dafny { /// <summary>
/// Returns null on success, or an error string otherwise.
/// </summary>
- public static string ParseCheck(List<string/*!*/>/*!*/ fileNames, string/*!*/ programName, out Program program)
+ public static string ParseCheck(IList<string/*!*/>/*!*/ fileNames, string/*!*/ programName, out Program program)
//modifies Bpl.CommandLineOptions.Clo.XmlSink.*;
{
Contract.Requires(programName != null);
@@ -84,7 +84,7 @@ namespace Microsoft.Dafny { }
}
- public static string ParseIncludes(ModuleDecl module, BuiltIns builtIns, List<string> excludeFiles, Errors errs) {
+ public static string ParseIncludes(ModuleDecl module, BuiltIns builtIns, IList<string> excludeFiles, Errors errs) {
SortedSet<Include> includes = new SortedSet<Include>(new IncludeComparer());
foreach (string fileName in excludeFiles) {
includes.Add(new Include(null, fileName, Path.GetFullPath(fileName)));
diff --git a/Source/DafnyDriver/DafnyDriver.cs b/Source/DafnyDriver/DafnyDriver.cs index 16349ccc..53d1cbdf 100644 --- a/Source/DafnyDriver/DafnyDriver.cs +++ b/Source/DafnyDriver/DafnyDriver.cs @@ -114,7 +114,7 @@ namespace Microsoft.Dafny }
- static ExitValue ProcessFiles(List<string/*!*/>/*!*/ fileNames, bool lookForSnapshots = true, string programId = null)
+ static ExitValue ProcessFiles(IList<string/*!*/>/*!*/ fileNames, bool lookForSnapshots = true, string programId = null)
{
Contract.Requires(cce.NonNullElements(fileNames));
|