Mirror of https://github.com/leanprover/lean2 in case it ever disappears
Find a file
Leonardo de Moura 11fbee269b fix(frontends/lean/parser): must save state of name_generator in parser snapshot
To provide typing and auto-completion information, we create a
background process by starting lean with the option --server.
In "server" mode, we create snapshots of the parser state.
The idea is to be able to quickly reprocess a file when the user makes a
modification. This commit fixes a bug in the snapshot operation.
It was not saving in the snapshots the unique name generator used by the parser.
By creating a fresh name generator, we may accidentally
assign the same internal name to two different constants.
This bug triggered the crash described in issue #593.

This commit fixes the test in the comment
https://github.com/leanprover/lean/issues/593#issuecomment-101768484

This commit also adds a smaller version of the problem to the test suite
2015-05-13 12:28:23 -07:00
bin fix(bin/leantags): remove '\r' in ilean input 2015-05-10 06:53:26 -04:00
doc doc(make/msys2.md): remove msys2's Python, add how to install native one 2015-05-12 13:03:51 -04:00
examples feat(CMakeLists): add basic example to binary distribution package 2015-01-14 10:39:07 -08:00
hott feat(library/tactic): add 'induction' tactic skeleton 2015-05-12 20:21:25 -07:00
images chore(CMakeLists.txt): move Lean logo to make sure we can test leanemacs without installing Lean 2015-01-31 17:38:49 -08:00
library feat(library/tactic): add 'induction' tactic skeleton 2015-05-12 20:21:25 -07:00
script chore(script/gen_tokens_cpp): mark automatically generated global variables as static 2015-05-12 17:15:31 -07:00
src fix(frontends/lean/parser): must save state of name_generator in parser snapshot 2015-05-13 12:28:23 -07:00
tests fix(frontends/lean/parser): must save state of name_generator in parser snapshot 2015-05-13 12:28:23 -07:00
.gitignore chore(.gitignore): add compile_commands.json 2015-03-28 22:38:13 -04:00
.travis.osx.yml fix(.travis.osx.yml): explicitly turn on multi-thread support 2015-05-06 02:37:31 -04:00
.travis.windows.yml fix(.travis.windows.yml): use cmake-2.8.11.2 2015-05-05 17:17:37 -04:00
.travis.yml feat(.travis.yml): use g++-4.9 on Travis 2015-05-11 16:17:52 -04:00
LICENSE Add LICENSE file 2013-07-15 18:55:48 -07:00
README.md feat(doc/lean/library_style.org,README.md): add library style conventions 2015-05-12 06:20:51 -07:00

logo

LicenseWindowsUbuntuOS XCoverageBuilds/TestsStatic Analysis
Coverity Scan Build Status

Issue Stats Issue Stats

About

Requirements

Installing required packages at

Windows

Linux

OS X

Build Instructions

Miscellaneous