-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat(TestModels): Resource #103
Commits on Jan 30, 2023
-
test(resource): init testing of resource shim in C#
Ran: git checkout smithy-test-models -- resources.smithy
Configuration menu - View commit details
-
Copy full SHA for 4a5d2c2 - Browse repository at this point
Copy the full SHA 4a5d2c2View commit details -
fix(resources): polymorph's smithydotnet does not handle bigInit or b…
…igDecimal We may have to address this later.
Configuration menu - View commit details
-
Copy full SHA for a74aaa9 - Browse repository at this point
Copy the full SHA a74aaa9View commit details
Commits on Jan 31, 2023
-
Oi... this depends on all the simple types... Is that intentional? Or is that a mistake when we authored this Smithy?
Configuration menu - View commit details
-
Copy full SHA for ee3e4b0 - Browse repository at this point
Copy the full SHA ee3e4b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for df4a884 - Browse repository at this point
Copy the full SHA df4a884View commit details -
Our Dafny code generator does not support: - Bytes - Shorts - Floats - BigInteger - BigDecimal - Timestamp
Configuration menu - View commit details
-
Copy full SHA for e1b2cc3 - Browse repository at this point
Copy the full SHA e1b2cc3View commit details -
fix: smithy-polymorph call's Model must be a directory
Or smithy-polymorph will not output a Types.dfy.
Configuration menu - View commit details
-
Copy full SHA for f144f7d - Browse repository at this point
Copy the full SHA f144f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 93d66b6 - Browse repository at this point
Copy the full SHA 93d66b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 915e470 - Browse repository at this point
Copy the full SHA 915e470View commit details -
Configuration menu - View commit details
-
Copy full SHA for 717ccd2 - Browse repository at this point
Copy the full SHA 717ccd2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19ff9bf - Browse repository at this point
Copy the full SHA 19ff9bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c0aee2 - Browse repository at this point
Copy the full SHA 9c0aee2View commit details
Commits on Feb 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d7518c1 - Browse repository at this point
Copy the full SHA d7518c1View commit details
Commits on Feb 2, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fa0c8d6 - Browse repository at this point
Copy the full SHA fa0c8d6View commit details -
Configuration menu - View commit details
-
Copy full SHA for f495b3d - Browse repository at this point
Copy the full SHA f495b3dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1af036c - Browse repository at this point
Copy the full SHA 1af036cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fd0bfc - Browse repository at this point
Copy the full SHA 4fd0bfcView commit details -
Configuration menu - View commit details
-
Copy full SHA for e9060c4 - Browse repository at this point
Copy the full SHA e9060c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fa9de7 - Browse repository at this point
Copy the full SHA 6fa9de7View commit details
Commits on Feb 3, 2023
-
Issue: transpile_test_net is failing: ``` $ make polymorph_dafny verify polymorph_net transpile_net dafny \ -vcsCores:2 \ -compileTarget:cs \ -spillTargetCode:3 \ -compile:0 \ -optimizeErasableDatatypeWrapper:0 \ -useRuntimeLib \ -out runtimes/net/tests/TestsFromDafny \ -library /Volumes/workplace/ryan-new-world/polymorph/TestModels/resources/src/Index.dfy \ `find ./test -name '*.dfy'` Unhandled exception. System.AggregateException: One or more errors occurred. (Object reference not set to an instance of an object.) ---> System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Dafny.ErrorReporter.Error(MessageSource source, IToken tok, String msg) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Reporting.cs:line 45 at Microsoft.Dafny.ErrorReporter.Error(MessageSource source, IToken tok, String msg, Object[] args) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Reporting.cs:line 67 at Microsoft.Dafny.Resolver.ResolveMember(IToken tok, Type receiverType, String memberName, NonProxyType& tentativeReceiverType) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 12384 at Microsoft.Dafny.Resolver.EnsureSupportsErrorHandling(IToken tok, Type tp, Boolean expectExtract, Boolean hasKeywordToken) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 11884 at Microsoft.Dafny.Resolver.ResolveAssignOrReturnStmt(AssignOrReturnStmt s, ResolutionContext resolutionContext) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 11866 at Microsoft.Dafny.Resolver.ResolveConcreteUpdateStmt(ConcreteUpdateStatement s, ResolutionContext resolutionContext) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 11476 at Microsoft.Dafny.Resolver.ResolveStatement(Statement stmt, ResolutionContext resolutionContext) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 9581 at Microsoft.Dafny.Resolver.ResolveStatementWithLabels(Statement stmt, ResolutionContext resolutionContext) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 12132 at Microsoft.Dafny.Resolver.ResolveBlockStatement(BlockStmt blockStmt, ResolutionContext resolutionContext) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 12102 at Microsoft.Dafny.Resolver.ResolveMethod(Method m) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 8809 at Microsoft.Dafny.Resolver.ResolveClassMemberBodies(TopLevelDeclWithMembers cl) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 8001 at Microsoft.Dafny.Resolver.ResolveTopLevelDecls_Core(List`1 declarations, Graph`1 datatypeDependencies, Graph`1 codatatypeDependencies, Boolean isAnExport) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 2854 at Microsoft.Dafny.Resolver.ResolveModuleDefinition(ModuleDefinition m, ModuleSignature sig, Boolean isAnExport) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 1043 at Microsoft.Dafny.Resolver.ResolveProgram(Program prog) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/Resolver/Resolver.cs:line 510 at Microsoft.Dafny.Main.Resolve(Program program, ErrorReporter reporter) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/DafnyMain.cs:line 215 at Microsoft.Dafny.Main.ParseCheck(IList`1 files, String programName, ErrorReporter reporter, Program& program) in /Volumes/workplace/dafny_src/dafny/Source/DafnyCore/DafnyMain.cs:line 166 at Microsoft.Dafny.DafnyDriver.ProcessFilesAsync(IList`1 dafnyFiles, ReadOnlyCollection`1 otherFileNames, ErrorReporter reporter, Boolean lookForSnapshots, String programId) in /Volumes/workplace/dafny_src/dafny/Source/DafnyDriver/DafnyDriver.cs:line 345 --- End of inner exception stack trace --- at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions) at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at System.Threading.Tasks.Task`1.get_Result() at Microsoft.Dafny.DafnyDriver.ThreadMain(String[] args) in /Volumes/workplace/dafny_src/dafny/Source/DafnyDriver/DafnyDriver.cs:line 123 at Microsoft.Dafny.DafnyDriver.<>c__DisplayClass10_0.<Main>b__0() in /Volumes/workplace/dafny_src/dafny/Source/DafnyDriver/DafnyDriver.cs:line 100 at System.Threading.Thread.StartCallback() /Users/tonyknap/workplace/dafny_src/dafny_path/dafny: line 34: 15045 Abort trap: 6 "$DOTNET" "$DAFNY" "$@" make: *** [transpile_test_net] Error 134 ```
Configuration menu - View commit details
-
Copy full SHA for f073948 - Browse repository at this point
Copy the full SHA f073948View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4e7cf00 - Browse repository at this point
Copy the full SHA 4e7cf00View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9cd0b43 - Browse repository at this point
Copy the full SHA 9cd0b43View commit details -
Configuration menu - View commit details
-
Copy full SHA for 813dc9e - Browse repository at this point
Copy the full SHA 813dc9eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 77b53ac - Browse repository at this point
Copy the full SHA 77b53acView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba5b980 - Browse repository at this point
Copy the full SHA ba5b980View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca735c2 - Browse repository at this point
Copy the full SHA ca735c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for d42449f - Browse repository at this point
Copy the full SHA d42449fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e64a588 - Browse repository at this point
Copy the full SHA e64a588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 40ecc9a - Browse repository at this point
Copy the full SHA 40ecc9aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 47d5e44 - Browse repository at this point
Copy the full SHA 47d5e44View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa765c8 - Browse repository at this point
Copy the full SHA aa765c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30fe621 - Browse repository at this point
Copy the full SHA 30fe621View commit details -
`test_net` now fails with: ``` /Volumes/workplace/ryan-new-world/polymorph/TestModels/resources/runtimes/net/Generated/Wrapped/TypeConversion.cs(190,13): error CS0246: The type or namespace name 'WrappedNativeWrapper_SimpleResource' could not be found (are you missing a using directive or an assembly reference?) [/Volumes/workplace/ryan-new-world/polymorph/TestModels/resources/runtimes/net/SimpleResources.csproj] ``` Which I suspect is smithy-dotnet issue. It may be that smithy-dotnet assumes all resources are extendable.
Configuration menu - View commit details
-
Copy full SHA for 21db487 - Browse repository at this point
Copy the full SHA 21db487View commit details -
Configuration menu - View commit details
-
Copy full SHA for 306cbaf - Browse repository at this point
Copy the full SHA 306cbafView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa49b2b - Browse repository at this point
Copy the full SHA fa49b2bView commit details
Commits on Feb 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 70beb46 - Browse repository at this point
Copy the full SHA 70beb46View commit details -
issue: WrappedCodegen's NativeWrapper assumes Exception name
The C# Native Wrapper assumes an exception exsits named SimpleResourcesException. More generically, it assumes an exception named <Namespace>Exception exsits. Run: `make polymorph_dafny polymorph_net verify transpile_net setup_net test_net` to confirm.
Configuration menu - View commit details
-
Copy full SHA for 09aafe2 - Browse repository at this point
Copy the full SHA 09aafe2View commit details -
Configuration menu - View commit details
-
Copy full SHA for bbe673d - Browse repository at this point
Copy the full SHA bbe673dView commit details -
Configuration menu - View commit details
-
Copy full SHA for dc44957 - Browse repository at this point
Copy the full SHA dc44957View commit details
Commits on Feb 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 6fdb22b - Browse repository at this point
Copy the full SHA 6fdb22bView commit details
Commits on Feb 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 19493c3 - Browse repository at this point
Copy the full SHA 19493c3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6e4d07f - Browse repository at this point
Copy the full SHA 6e4d07fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 565ac6c - Browse repository at this point
Copy the full SHA 565ac6cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 055a1ed - Browse repository at this point
Copy the full SHA 055a1edView commit details -
refactor(TestModels): Resource
Resolves PR #135 Feedback: - #135 (comment)
Configuration menu - View commit details
-
Copy full SHA for be67a87 - Browse repository at this point
Copy the full SHA be67a87View commit details
Commits on Feb 23, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 343c96f - Browse repository at this point
Copy the full SHA 343c96fView commit details -
Configuration menu - View commit details
-
Copy full SHA for fe10052 - Browse repository at this point
Copy the full SHA fe10052View commit details -
Configuration menu - View commit details
-
Copy full SHA for 705ccb6 - Browse repository at this point
Copy the full SHA 705ccb6View commit details