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

Keep getting Exception: (Sys_error "xxxx.swift: Read-only file system #362

Open
ShawnMa16 opened this issue Apr 7, 2023 · 0 comments
Open

Comments

@ShawnMa16
Copy link

Describe the bug
A clear and concise description of what the bug is.

I'm getting
Exception: (Sys_error "xxxx.swift: Read-only file system

when trying to run the command

COMBY_M="$(cat <<"MATCH"
switch :[case] {:[body]}
MATCH
)"
COMBY_R="$(cat <<"REWRITE"
switch :[case] {:[body]@unknown default: }
REWRITE
)"
COMBY_RULE="$(cat <<"RULE"
where match :[body] {
| ":[_]@unknown default::[_]" -> false
| ":[_]" -> true
}
RULE
)"
# Install comby with `bash <(curl -sL get.comby.dev)` or see github.com/comby-tools/comby && \
comby "$COMBY_M" "$COMBY_R"  -rule "$COMBY_RULE" .swift -stats -match-newline-at-toplevel -timeout 20 -I

Reproducing

  • If this looks like a bug in the matcher, go to https://comby.live and paste a shared link below:
  • If this is not about a matcher, please describe the bug:

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

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

No branches or pull requests

1 participant