Skip to content

The Native AOT consumer doesn't exercise most 10.0.0 additions #254

Closed

Description

@CaffeinatedCoder

Problem

The Native AOT consumer in test/consumer-smoke-test.sh covers only Float64Set, Float64Set<T> and Float32Set<T> of the 10.0.0 additions. Under AOT nothing exercises:

  • Float64Range/Float32Range (value, variant, dictionary key)
  • RangeSet<Float64Range,double> and RangeSet<Float32Range,float> read without ever being built (the closed-converter registration case)
  • non-generic IComparable (Array.Sort(object[]), ArrayList.Sort)
  • Shift/Expand/Split/Values(step)
  • Month/Quarter/Year/IsoWeek and Split(DateRange.Month)
  • Gaps, RangeAgg/RangeIntersectAgg

The final pre-release analysis (add665c) wrote a consumer covering all of these against the packed dist. It published with 0 IL warnings and ran as a native binary (Mach-O arm64) with output identical to the JIT run, so nothing is broken today. But CI would not notice a regression. AGENTS.md says the AOT consumer is the only check that code is actually compiled.

Change

Add those cases to the AOT consumer, asserting printed output. Seed one AOT-only defect (for example, drop a generic set's ConvertersRegistered line) and show the smoke test fails.

Activity

  1. added this to the 10.0.0 milestone on Oct 19, 2026
  2. added
    tests
    package/nodatime
    area/aot
    package/core
    on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/aotpackage/corepackage/nodatimetests

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions