Skip to content
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

Merge range type feature #3009

Merged
merged 133 commits into from
Jan 11, 2024
Merged

Merge range type feature #3009

merged 133 commits into from
Jan 11, 2024

Commits on Aug 25, 2023

  1. Merge pull request #2747 from onflow/supun/sync-range-type

    Sync `feature/range-type` branch with `master`
    SupunS authored Aug 25, 2023
    Configuration menu
    Copy the full SHA
    4e0c932 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Configuration menu
    Copy the full SHA
    ec147bd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9517f7e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f48199c View commit details
    Browse the repository at this point in the history
  4. More tests

    darkdrag00nv2 committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    d13a39c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    258e541 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    4fbe486 View commit details
    Browse the repository at this point in the history
  7. Use nil for location range of composite value

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    9458718 View commit details
    Browse the repository at this point in the history
  8. Add missing semicolon

    darkdrag00nv2 committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    c962d1c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    5a01dde View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    87cdcc5 View commit details
    Browse the repository at this point in the history
  11. Format the error message for sequence moving away from end.

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    ac00e1e View commit details
    Browse the repository at this point in the history
  12. Break mod operation into multiple lines.

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    fc47776 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    74af213 View commit details
    Browse the repository at this point in the history
  14. Declare and initialize result on the same line

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    18b4859 View commit details
    Browse the repository at this point in the history
  15. fix lint

    darkdrag00nv2 committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    a867b65 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e36333e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    d36a76e View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    91ea40f View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    6fd4f27 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    5386f43 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    d72ddf5 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    ae29179 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    efb0b74 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    96fe558 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4dac857 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    aa36e25 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    6b03f03 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    b1d81fa View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    cec3966 View commit details
    Browse the repository at this point in the history
  30. Update runtime/tests/checker/range_value_test.go

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    2c9b4a3 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    184189b View commit details
    Browse the repository at this point in the history
  32. Update runtime/stdlib/range.go

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    d981a16 View commit details
    Browse the repository at this point in the history
  33. Update runtime/stdlib/range.go

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    0a9b4f8 View commit details
    Browse the repository at this point in the history
  34. Update runtime/interpreter/value_range.go

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    be883f8 View commit details
    Browse the repository at this point in the history
  35. Update runtime/interpreter/value_range.go

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    8440ae7 View commit details
    Browse the repository at this point in the history
  36. Update runtime/interpreter/value_range.go

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    44d4d62 View commit details
    Browse the repository at this point in the history
  37. Update runtime/interpreter/value.go

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    2b31f2c View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    e582b6c View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    112114f View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    dec5f50 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    47fc917 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    6fbc1a5 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    1b1f450 View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    79ff403 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    59b0457 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    16ddd41 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    d43a0c5 View commit details
    Browse the repository at this point in the history
  48. Fix comment

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    e94c03f View commit details
    Browse the repository at this point in the history
  49. Remove comment.

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    c4c13ff View commit details
    Browse the repository at this point in the history
  50. Use Equal() instead of == and != operators

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    ac26a8b View commit details
    Browse the repository at this point in the history
  51. Extract elementType as a local variable and use.

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    5b3d817 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    7cca141 View commit details
    Browse the repository at this point in the history
  53. Rename TestInclusiveRangeConstructionValid -> TestCheckInclusiveRange…

    …ConstructionValid
    
    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    bed0e37 View commit details
    Browse the repository at this point in the history
  54. Rename TestInclusiveRangeConstructionInvalid -> TestCheckInclusiveRan…

    …geConstructionInvalid
    
    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    5b187d5 View commit details
    Browse the repository at this point in the history
  55. Fix typo and build

    darkdrag00nv2 committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    257043e View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    1fa90d3 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    7e5c801 View commit details
    Browse the repository at this point in the history
  58. Use stricter multiplicity annotation.

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    80e9f2e View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    c7db732 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    e2a8436 View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    5de89b1 View commit details
    Browse the repository at this point in the history
  62. Configuration menu
    Copy the full SHA
    f44c8a5 View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    a4d4c96 View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2023

  1. Handle each level of multi-level type separately.

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    1d54260 View commit details
    Browse the repository at this point in the history
  2. Remove unnecessary nesting.

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent authored Sep 6, 2023
    Configuration menu
    Copy the full SHA
    131a163 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d169d09 View commit details
    Browse the repository at this point in the history
  4. Use StaticType.Equal

    darkdrag00nv2 committed Sep 6, 2023
    Configuration menu
    Copy the full SHA
    cf5edc8 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    e47dbad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d1b13f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bceada1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1f96574 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2023

  1. Configuration menu
    Copy the full SHA
    e6eeaed View commit details
    Browse the repository at this point in the history
  2. Add a mutex in range_value_test.go to protect concurrent access to th…

    …e cachedIntegerValues map
    darkdrag00nv2 committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    5f2ddd8 View commit details
    Browse the repository at this point in the history

Commits on Sep 22, 2023

  1. Configuration menu
    Copy the full SHA
    d97eef6 View commit details
    Browse the repository at this point in the history
  2. Use IsSameTypeKind

    darkdrag00nv2 committed Sep 22, 2023
    Configuration menu
    Copy the full SHA
    7904b95 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2023

  1. Configuration menu
    Copy the full SHA
    8732e3d View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Configuration menu
    Copy the full SHA
    edf547b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34a43de View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    81aed0f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1af52af View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    56c8ac7 View commit details
    Browse the repository at this point in the history

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    9315a88 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    dd77fb7 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2023

  1. Configuration menu
    Copy the full SHA
    d80f426 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    10f48af View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    64b1b0d View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2023

  1. Configuration menu
    Copy the full SHA
    4445c56 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2023

  1. Configuration menu
    Copy the full SHA
    db22c2c View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2023

  1. Configuration menu
    Copy the full SHA
    1ca3adc View commit details
    Browse the repository at this point in the history

Commits on Oct 19, 2023

  1. Merge pull request #2523 from darkdrag00nv2/range_type

    Introduce `InclusiveRange<T: Integer>` type
    SupunS authored Oct 19, 2023
    Configuration menu
    Copy the full SHA
    e523180 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. Configuration menu
    Copy the full SHA
    19eb821 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. use meaningful names

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS authored Nov 2, 2023
    Configuration menu
    Copy the full SHA
    ea8ecd4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cfefca3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2823012 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    86b36e8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d21296e View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. Review suggestions

    darkdrag00nv2 committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    59b1c58 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. Use getFieldAsIntegerValue

    Co-authored-by: Supun Setunga <[email protected]>
    darkdrag00nv2 and SupunS authored Nov 7, 2023
    Configuration menu
    Copy the full SHA
    52ced9b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63a2ee4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b512835 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2023

  1. Configuration menu
    Copy the full SHA
    7ab492f View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    d51c035 View commit details
    Browse the repository at this point in the history
  2. Fix tests

    darkdrag00nv2 committed Dec 1, 2023
    Configuration menu
    Copy the full SHA
    f0c20a7 View commit details
    Browse the repository at this point in the history

Commits on Dec 2, 2023

  1. Remove unused variable

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent authored Dec 2, 2023
    Configuration menu
    Copy the full SHA
    ecd3f23 View commit details
    Browse the repository at this point in the history
  2. 2 Configuration menu
    Copy the full SHA
    7b65121 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eefb4a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    733cf47 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2023

  1. Computate invocation range lazily

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    2a26bb3 View commit details
    Browse the repository at this point in the history
  2. Fix build

    darkdrag00nv2 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    fa16545 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d5b746c View commit details
    Browse the repository at this point in the history
  4. Merge pull request #2959 from darkdrag00nv2/range_type_covariant_subt…

    …yping
    
    Disallow InclusiveRange<T> if T is a non-leaf integer
    SupunS authored Dec 5, 2023
    Configuration menu
    Copy the full SHA
    5d74897 View commit details
    Browse the repository at this point in the history

Commits on Dec 8, 2023

  1. Configuration menu
    Copy the full SHA
    da3dfc2 View commit details
    Browse the repository at this point in the history
  2. Remove access modifiers from tests

    Co-authored-by: Bastian Müller <[email protected]>
    darkdrag00nv2 and turbolent committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    951a4a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a1fcc7d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6e05d78 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    151816e View commit details
    Browse the repository at this point in the history
  6. Fix typo for lint

    darkdrag00nv2 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    90ede50 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    141012f View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    460533d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    21c83f8 View commit details
    Browse the repository at this point in the history
  10. Remove redundant check

    darkdrag00nv2 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    f2adc91 View commit details
    Browse the repository at this point in the history
  11. add tests for functrion types

    turbolent authored and darkdrag00nv2 committed Dec 8, 2023
    Configuration menu
    Copy the full SHA
    a5beda9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3bd5990 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f82c07f View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Merge pull request #2915 from darkdrag00nv2/range_type_check_paramete…

    …rized_type_recursive
    
    Make checkParameterizedTypeIsInstantiated recursive
    SupunS authored Dec 11, 2023
    Configuration menu
    Copy the full SHA
    2a2c540 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2024

  1. Configuration menu
    Copy the full SHA
    1a1595c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6cc271f View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2024

  1. Configuration menu
    Copy the full SHA
    e3eca03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e46be51 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4825f92 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2024

  1. Configuration menu
    Copy the full SHA
    30edca0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    def44e7 View commit details
    Browse the repository at this point in the history