From 2be514ca20e1478b6df02ef2b4c2725c319ac934 Mon Sep 17 00:00:00 2001 From: qunyanm Date: Tue, 2 Feb 2016 12:40:07 -0800 Subject: Mark old "import A as B" syntax as deprecated. The new syntax is "import A : B" --- Source/Dafny/Dafny.atg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Source/Dafny/Dafny.atg') diff --git a/Source/Dafny/Dafny.atg b/Source/Dafny/Dafny.atg index e3696c5b..80792ce2 100644 --- a/Source/Dafny/Dafny.atg +++ b/Source/Dafny/Dafny.atg @@ -727,7 +727,7 @@ SubModuleDecl [IF(IsDefaultImport()) "default" QualifiedModuleName ] (. submodule = new ModuleFacadeDecl(idPath, id, parent, idAssignment, opened); - //errors.Warning(t, "\"import A as B\" has been deprecated; in the new syntax, it is \"import A:B\""); + errors.Warning(t, "\"import A as B\" has been deprecated; in the new syntax, it is \"import A:B\""); .) | ":" QualifiedModuleName (. submodule = new ModuleFacadeDecl(idPath, id, parent, idAssignment, opened); .) -- cgit v1.2.3