Add integration tests for complex inheritance, generics, and extension methods#278
Conversation
…n methods Added a new integration test file 'ComplexInheritanceGenericsInterfacesTests.cs' covering simple and nested inheritance with generics, and complex extension methods with output verification (skipping Roslyn for the latter). Co-authored-by: theolivenbaum <8791811+theolivenbaum@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
…nd nested namespaces Added 6 new integration tests in 'ComplexInheritanceGenericsInterfacesTests.cs': - SimpleInheritanceAndGenerics - NestedInheritanceAndGenerics - ComplexExtensionMethodsWithGenerics - DeeplyNestedNamespacesAndGenerics - ComplexGenericConstraintsInInheritanceChain - CrossNamespaceInheritanceAndExtensions These tests cover scenarios involving deep namespace nesting, cross-namespace inheritance, complex generic constraints, and extension methods on generic types, ensuring the compiler handles these advanced C# features correctly. Tests involving namespaces or top-level extensions use 'skipRoslyn: true' with manual output verification due to Roslyn script limitations. Co-authored-by: theolivenbaum <8791811+theolivenbaum@users.noreply.github.com>
Added 50 integration tests across 4 files covering: - Advanced Generics: Covariance/Contravariance, abstract generic bases, hiding members, sealed generics. - Advanced Extension Methods: Extensions on arrays, lists, dictionaries, nested types, and constraints. - Advanced Constraints: `struct`, `class`, `new()`, `base class`, `interface`, and naked constraints. - Complex Features: Generic events, delegates, indexers, operators, patterns, and nullable structs. These tests ensure robust support for complex C# scenarios in the H5 compiler. Tests involving platform-specific behavior (e.g., bool.ToString() casing) or limitations (e.g., namespaces in scripts) use `skipRoslyn: true` with manual output verification. Co-authored-by: theolivenbaum <8791811+theolivenbaum@users.noreply.github.com>
Added a new integration test file 'ComplexInheritanceGenericsInterfacesTests.cs' covering simple and nested inheritance with generics, and complex extension methods with output verification (skipping Roslyn for the latter).
PR created automatically by Jules for task 3219551713835101639 started by @theolivenbaum