File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -563,21 +563,21 @@ StructTypes.StructType(::Type{C2}) = StructTypes.Mutable()
563563 end
564564end
565565
566+ struct MyStruct1
567+ val:: Int
568+ end
569+ StructTypes. @Struct MyStruct1
570+ StructTypes. @NullType struct MyStruct2
571+ val:: Int
572+ end
573+
574+ StructTypes. @Mutable mutable struct MyStruct3
575+ val:: Int
576+ end
577+
566578@testset " Macros" begin
567- struct MyStruct1
568- val:: Int
569- end
570- StructTypes. @Struct MyStruct1
571579 @test StructTypes. StructType (MyStruct1) isa StructTypes. Struct
572-
573- StructTypes. @NullType struct MyStruct2
574- val:: Int
575- end
576580 @test StructTypes. StructType (MyStruct2) isa StructTypes. NullType
577-
578- StructTypes. @Mutable mutable struct MyStruct3
579- val:: Int
580- end
581581 @test StructTypes. StructType (MyStruct3) isa StructTypes. Mutable
582582
583583 # Test an expression that is not a struct def
You can’t perform that action at this time.
0 commit comments