diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-08 10:04:47 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-05-08 10:12:46 +0200 |
commit | 7d03b1de0b7a2f7a7972716a40277c7aa231f542 (patch) | |
tree | b281f3e370dfa5339f7275e407bd9e5682435f2e /modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MustBeVariant.GD0301.cs | |
parent | 17a81260cb92a321a0d752e369ef911055178c7b (diff) | |
download | redot-engine-7d03b1de0b7a2f7a7972716a40277c7aa231f542.tar.gz |
Style: Trim trailing whitespace and ensure newline at EOF
Found by apply the file_format checks again via #91597.
Diffstat (limited to 'modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MustBeVariant.GD0301.cs')
-rw-r--r-- | modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MustBeVariant.GD0301.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MustBeVariant.GD0301.cs b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MustBeVariant.GD0301.cs index 2b5eecab8a..053ae36ae7 100644 --- a/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MustBeVariant.GD0301.cs +++ b/modules/mono/editor/Godot.NET.Sdk/Godot.SourceGenerators.Tests/TestData/Sources/MustBeVariant.GD0301.cs @@ -10,7 +10,7 @@ public class MustBeVariantGD0301 // This raises a GD0301 diagnostic error: object is not Variant (and Method<T> requires a variant generic type). Method<{|GD0301:object|}>(); } - + public void MethodCallsOk() { // All these calls are valid because they are Variant types. @@ -75,7 +75,7 @@ public class MustBeVariantGD0301 public void Method<[MustBeVariant] T>() { } - + public void MustBeVariantClasses() { new ClassWithGenericVariant<bool>(); |