-
Notifications
You must be signed in to change notification settings - Fork 453
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
6 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
namespace Foo | ||
def _root_.bar := 1 -- Error | ||
def _root_.bar := 1 -- ok | ||
end Foo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
490.lean:2:0-2:19: error: invalid namespace '_root_', '_root_' is a reserved namespace | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
-*- mode: compilation; default-directory: "~/projects/lean4/build/release/" -*- | ||
Compilation started at Mon Jun 13 13:56:14 | ||
|
||
/home/leodemoura/.elan/bin/lean /home/leodemoura/projects/lean4/build/release/root.lean | ||
Bla.f : Nat → Nat | ||
/home/leodemoura/projects/lean4/build/release/root.lean:21:14: error: protected declarations must be in a namespace | ||
/home/leodemoura/projects/lean4/build/release/root.lean:29:4: error: invalid declaration name `_root_`, `_root_` is a prefix used to refer to the 'root' namespace | ||
/home/leodemoura/projects/lean4/build/release/root.lean:31:0: error: invalid namespace '_root_', '_root_' is a reserved namespace | ||
/home/leodemoura/projects/lean4/build/release/root.lean:33:0: error: invalid namespace 'f._root_', '_root_' is a reserved namespace | ||
/home/leodemoura/projects/lean4/build/release/root.lean:35:14: error: protected declarations must be in a namespace | ||
/home/leodemoura/projects/lean4/build/release/root.lean:41:7: error: unknown identifier 'h' | ||
/home/leodemoura/projects/lean4/build/release/root.lean:43:7: error: unknown identifier 'f' | ||
f : Nat → Nat | ||
_private.root.0.prv : Nat -> Nat | ||
/home/leodemoura/projects/lean4/build/release/root.lean:90:48: error: unsolved goals | ||
x : Nat | ||
⊢ isEven (x + 1 + 1) = isEven x | ||
/home/leodemoura/projects/lean4/build/release/root.lean:95:48: error: unsolved goals | ||
x : Nat | ||
⊢ isEven (x + 1 + 1) = isEven x | ||
|
||
Compilation exited abnormally with code 1 at Mon Jun 13 13:56:14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
root.lean:1:0: error: expected command | ||
root.lean:6:80: error: expected 'abbrev', 'axiom', 'builtin_initialize', 'class', 'constant', 'def', 'example', 'inductive', 'initialize', 'instance', 'structure' or 'theorem' | ||
root.lean:7:0: error: expected identifier | ||
root.lean:7:125: error: expected ':' | ||
root.lean:8:0: error: expected identifier | ||
root.lean:8:90: error: missing end of character literal | ||
root.lean:9:0: error: expected identifier | ||
root.lean:9:90: error: missing end of character literal | ||
root.lean:10:0: error: expected identifier | ||
root.lean:10:80: error: expected 'abbrev', 'axiom', 'builtin_initialize', 'class', 'constant', 'def', 'example', 'inductive', 'initialize', 'instance', 'structure' or 'theorem' | ||
root.lean:11:0: error: expected identifier |