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

fix!: Disable automatically mapping a Dafny string to a Go string in externs #3647

Merged
merged 12 commits into from
Feb 28, 2023
Merged
Prev Previous commit
Next Next commit
Use OutputCheck pattern to avoid file paths variance in CI
  • Loading branch information
robin-aws committed Feb 28, 2023
commit 5164558a833d546f7b4533da04f402fb4c70cfa0
3 changes: 2 additions & 1 deletion Test/wishlist/GoModule.dfy
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// RUN: %exits-with 3 %dafny /compile:3 /unicodeChar:0 /spillTargetCode:2 "%s" /compileTarget:go 2> "%t"
// note: putting /compileTarget:go after "%s" overrides user-provided option
// RUN: %diff "%s.expect" "%t"
// RUN: %OutputCheck --file-to-check "%t" "%s"
// CHECK: GoModuleConversions.go:10:3: imported and not used: "net/url"

// This test used to work only because of a questionable Go-only feature
// of mapping a Dafny string directly to a Go string when passed in or out of
Expand Down
2 changes: 0 additions & 2 deletions Test/wishlist/GoModule.dfy.expect

This file was deleted.