Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consolidate flags from codegen into as_config #692

Merged
merged 2 commits into from
Sep 29, 2019
Merged

Consolidate flags from codegen into as_config #692

merged 2 commits into from
Sep 29, 2019

Conversation

ggreif
Copy link
Contributor

@ggreif ggreif commented Sep 26, 2019

This is a bit noisy PR that I wanted to leave out of #684. It makes flag handling less diverse. Mostly mechanical changes. No functional impact.

@ggreif ggreif changed the title Gabor/flags consolidation Consolidate flags from codegen into as_config Sep 27, 2019
@ggreif ggreif marked this pull request as ready for review September 27, 2019 19:32
@ggreif ggreif requested review from nomeata and rossberg September 27, 2019 19:32
@crusso crusso self-requested a review September 28, 2019 08:11
@crusso
Copy link
Contributor

crusso commented Sep 28, 2019

LGTM and I actually want this soon so I can use the flag in the type checker and clean up the platform flag in async.ml

Copy link
Contributor

@crusso crusso left a comment

Choose a reason for hiding this comment

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

LGTM

let trace = ref false
let verbose = ref false
let print_depth = ref 2
let release_mode = ref false
let compile_mode = ref ICMode
let multi_value = ref false
Copy link
Collaborator

Choose a reason for hiding this comment

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

I thought it was a feature that flags that only affect one module/library should be there. But consistency is the something something hobgoblin. So not a big deal either way.

@nomeata
Copy link
Collaborator

nomeata commented Sep 28, 2019

CompileMode should become target or SystemAPI now that it is not backend specific. Doesn't have to be this PR though.

@ggreif ggreif added the automerge-squash When ready, merge (using squash) label Sep 29, 2019
@mergify mergify bot merged commit 8505e0e into master Sep 29, 2019
@mergify mergify bot deleted the gabor/flags branch September 29, 2019 20:52
@mergify mergify bot removed the automerge-squash When ready, merge (using squash) label Sep 29, 2019
dfinity-bot added a commit that referenced this pull request Mar 5, 2025
## Changelog for motoko-base:
Branch: next-moc
Commits: [dfinity/motoko-base@8fd23fa7...a3dd04eb](dfinity/motoko-base@8fd23fa...a3dd04e)

* [`cee15564`](dfinity/motoko-base@cee1556) feat: add `isReplicated` to `ExperimentalInternetComputer` ([dfinity/motoko-base⁠#694](https://togithub.com/dfinity/motoko-base/issues/694))
* [`c9a08167`](dfinity/motoko-base@c9a0816) feat: add `Error.isRetryPossible`, a predicate for non-fatal messaging errors ([dfinity/motoko-base⁠#692](https://togithub.com/dfinity/motoko-base/issues/692))
* [`6246b654`](dfinity/motoko-base@6246b65) feat: make `replyDeadline` an optional return type ([dfinity/motoko-base⁠#693](https://togithub.com/dfinity/motoko-base/issues/693))
* [`1a381b99`](dfinity/motoko-base@1a381b9) Motoko 0.14.3
* [`756855bc`](dfinity/motoko-base@756855b) chore: amend the 0.14.3 changelog ([dfinity/motoko-base⁠#697](https://togithub.com/dfinity/motoko-base/issues/697))
mergify bot pushed a commit that referenced this pull request Mar 6, 2025
## Changelog for motoko-base:
Branch: next-moc
Commits: [dfinity/motoko-base@8fd23fa7...a3dd04eb](dfinity/motoko-base@8fd23fa...a3dd04e)

* [`cee15564`](dfinity/motoko-base@cee1556) feat: add `isReplicated` to `ExperimentalInternetComputer` ([dfinity/motoko-base⁠#694](https://togithub.com/dfinity/motoko-base/issues/694))
* [`c9a08167`](dfinity/motoko-base@c9a0816) feat: add `Error.isRetryPossible`, a predicate for non-fatal messaging errors ([dfinity/motoko-base⁠#692](https://togithub.com/dfinity/motoko-base/issues/692))
* [`6246b654`](dfinity/motoko-base@6246b65) feat: make `replyDeadline` an optional return type ([dfinity/motoko-base⁠#693](https://togithub.com/dfinity/motoko-base/issues/693))
* [`1a381b99`](dfinity/motoko-base@1a381b9) Motoko 0.14.3
* [`756855bc`](dfinity/motoko-base@756855b) chore: amend the 0.14.3 changelog ([dfinity/motoko-base⁠#697](https://togithub.com/dfinity/motoko-base/issues/697))
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.

3 participants