Skip to content

T1169#1171

Merged
yav merged 15 commits intomasterfrom
T1169
Apr 23, 2021
Merged

T1169#1171
yav merged 15 commits intomasterfrom
T1169

Conversation

@yav
Copy link
Member

@yav yav commented Apr 20, 2021

This fixes, hopefully, some incorrect behavior of import declarations

@yav yav requested a review from robdockins April 20, 2021 20:54
Loading module Cryptol
Loading module Cryptol
Loading module T15
[warning] at T15.cry:5:13--5:14
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure how I feel about losing these warnings. What do you think?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wondered about that too. More generally, I wonder if we should issue a warning when a local name shadows an imported name. This is what the comment on line 166 of Renamer.hs is about.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel like it probably makes sense to do that, controlled by the warnShadowing option.

.github/ci.sh Outdated
setup_external_tools() {
is_exe "$BIN" "test-runner" && return
cabal v2-install --install-method=copy --installdir="$BIN" test-lib
cabal v2-install --install-method=copy --installdir="$BIN" test-lib-0.3
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
cabal v2-install --install-method=copy --installdir="$BIN" test-lib-0.3
cabal v2-install --install-method=copy --installdir="$BIN" test-lib

yav and others added 8 commits April 22, 2021 10:40
* feat(rpc): safe for python api

* refactor: use enum for smt query type

* Update cryptol-remote-api/python/cryptol/__init__.py

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>

* Update cryptol-remote-api/python/cryptol/__init__.py

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>

Co-authored-by: Ryan Scott <ryan.gl.scott@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants