commit | 06c85efe016e08d07909526dd716d3aa8eeef267 | [log] [tgz] |
---|---|---|
author | Suharsh Sivakumar <suharshs@google.com> | Thu May 21 21:23:33 2015 -0700 |
committer | Suharsh Sivakumar <suharshs@google.com> | Thu May 21 21:23:40 2015 -0700 |
tree | df858cc14e82a241fc1658c8dae798a1f25401d1 | |
parent | 019f0ad21b11f34a771efbe945d8e56d3a2dc6a5 [diff] |
vdl/compile: Modify CompileExpr to support compilation of package-path qualified identifiers. CompileExpr used to use a dummy file that didn't have imports that were compiled into Env. This caused compilation of package-path quailified identifiers to fail. We solved this by introducing ExtractExprPackagePaths that allows users to retrieve all package paths in expressions. Then CompileExpr will include all needed expr that are also compiled into Env in the file. Now CompileExprs will succeed in compiling "a/b/c".Foo if "a/b/c" is in the Env. Change-Id: I100bf7378b76bb6a4c5b6518774138b31caf94d0
This repository contains a reference implementation of the Vanadium APIs.
Unlike the APIs in https://github.com/vanadium/go.v23, which promises to provide backward compatibility this repository makes no such promises.