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

Implement Vec in the standard library; Bug Fixes #82

Closed
wants to merge 34 commits into from
Closed

Commits on Jun 9, 2021

  1. begin work on vectors in the stdlib

    Alexander Hansen authored and Alexander Hansen committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    a4022cd View commit details
    Browse the repository at this point in the history
  2. progress in method exp debugging

    Alexander Hansen authored and Alexander Hansen committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    cd2f7d3 View commit details
    Browse the repository at this point in the history
  3. sort out ambiguity in method parsing

    Alex committed Jun 9, 2021
    Configuration menu
    Copy the full SHA
    4499936 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    20b45b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2021

  1. WIP stdlib vector

    Alex committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    832911d View commit details
    Browse the repository at this point in the history
  2. sketch out type trait constraints

    Alexander Hansen authored and Alexander Hansen committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    79fb851 View commit details
    Browse the repository at this point in the history
  3. trait constraints now work

    Alex committed Jun 11, 2021
    Configuration menu
    Copy the full SHA
    7d0a724 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2021

  1. progress on that method debugging thing

    Alexander Hansen authored and Alexander Hansen committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    d795a78 View commit details
    Browse the repository at this point in the history
  2. finish fixing methods bug; trait genericism works

    Alexander Hansen authored and Alexander Hansen committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    a9f24fd View commit details
    Browse the repository at this point in the history
  3. identify bug in struct field accesses

    Alex committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    89e5605 View commit details
    Browse the repository at this point in the history
  4. parser woes

    Alex committed Jun 16, 2021
    Configuration menu
    Copy the full SHA
    866e8ca View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2021

  1. core-types: Initial implementation (#77)

    This initial implementation contains the types used by the Sway-DAP
    implementation as compile-time generated source mappings.
    vlopes11 authored Jun 17, 2021
    Configuration menu
    Copy the full SHA
    0b683de View commit details
    Browse the repository at this point in the history
  2. Add Context to encapsulate debug ctx variants (#84)

    A call frame holds a contract while a transaction script doesn't. This
    structural difference is specific for the transaction script context,
    and doesn't map the specifics of predicate calls - that should bring
    more variants.
    
    This commit introduces the `Context` type to encapsulate all of these
    variants.
    vlopes11 authored Jun 17, 2021
    Configuration menu
    Copy the full SHA
    7e009f2 View commit details
    Browse the repository at this point in the history
  3. Cli formatter (#81)

    * remove typescript ignores
    
    * move formatter to separate lib
    
    * created forc fmt command
    
    * refactor to use path
    
    * move find_manifest_dir to helpers file
    
    * handle --check flag for forc fmt
    
    * use crate formatter
    
    * update logic for fmt --check
    
    * add newline
    
    * added alpha tag
    
    * Update Cargo.toml
    
    Remove version alpha suffix.
    
    * Update Cargo.lock
    
    Remove version alpha suffix.
    
    Co-authored-by: John Adler <[email protected]>
    leviathanbeak and adlerjohn authored Jun 17, 2021
    Configuration menu
    Copy the full SHA
    466bdcb View commit details
    Browse the repository at this point in the history
  4. parse call items

    Alexander Hansen authored and Alexander Hansen committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    9bb011b View commit details
    Browse the repository at this point in the history
  5. flesh out skeleton for subfield accesses

    Alexander Hansen authored and Alexander Hansen committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    a4c3998 View commit details
    Browse the repository at this point in the history
  6. continued refactoring of type checking on struct field accesses

    Alexander Hansen authored and Alexander Hansen committed Jun 17, 2021
    Configuration menu
    Copy the full SHA
    c37d842 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2021

  1. improve error messages in method type checking

    Alexander Hansen authored and Alexander Hansen committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    414b5d1 View commit details
    Browse the repository at this point in the history
  2. implement struct field accesses on general expressions

    Alexander Hansen authored and Alexander Hansen committed Jun 18, 2021
    Configuration menu
    Copy the full SHA
    81c0685 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2021

  1. fix self type resolution in traits

    Alex committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    59aa010 View commit details
    Browse the repository at this point in the history
  2. further progress on vectors

    Alex committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    c7b3182 View commit details
    Browse the repository at this point in the history
  3. begin inner struct field reassignments

    Alex committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    815f89a View commit details
    Browse the repository at this point in the history
  4. progress in struct field reassignments

    Alex committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    665381d View commit details
    Browse the repository at this point in the history
  5. basic struct field reassignment type checking

    Alex committed Jun 19, 2021
    Configuration menu
    Copy the full SHA
    59e60a4 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2021

  1. fix heap allocation bug; further in implemenation of struct field rea…

    …ssignments
    Alexander Hansen authored and Alexander Hansen committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    272f4e4 View commit details
    Browse the repository at this point in the history
  2. Fix struct reassignment parsing; remove todos

    Alexander Hansen authored and Alexander Hansen committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    ba30d1e View commit details
    Browse the repository at this point in the history
  3. Remove license. (#87)

    adlerjohn authored Jun 21, 2021
    Configuration menu
    Copy the full SHA
    ac92f8e View commit details
    Browse the repository at this point in the history
  4. fix subfield lookup bug

    Alexander Hansen authored and Alexander Hansen committed Jun 21, 2021
    Configuration menu
    Copy the full SHA
    f0a7f8f View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Multiline comments (#90)

    * remove typescript ignores
    
    * handle equal sign with ! correctly
    
    * handle more whitespace cases
    
    * handle multiline comments and inline comments
    
    * add newline
    
    * fix adding inline comment
    
    * add "}" before moving to new line or new comment
    
    * add space before comment
    leviathanbeak authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    be5332d View commit details
    Browse the repository at this point in the history
  2. Formatter tests (#92)

    * remove typescript ignores
    
    * handle equal sign with ! correctly
    
    * handle more whitespace cases
    
    * handle multiline comments and inline comments
    
    * add newline
    
    * add space after quote
    
    * added tests
    
    * fixed multiline */
    
    * fix adding inline comment
    
    * add "}" before moving to new line or new comment
    
    * improve comments tests
    
    * add more multiline checks
    
    * update tests
    
    * check for None option when checking whitespace
    
    * check that last char is not None
    
    * add comma to ignore list
    
    * added more extensive testcase dealing with keywords on multiple lines
    
    * handle keywords on different lines case
    
    * added code type
    leviathanbeak authored Jun 22, 2021
    Configuration menu
    Copy the full SHA
    fec1b92 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2021

  1. fix struct field access bug

    Alexander Hansen authored and Alexander Hansen committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    146ea70 View commit details
    Browse the repository at this point in the history
  2. tmp stdlib commit

    Alexander Hansen authored and Alexander Hansen committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    cdc6f88 View commit details
    Browse the repository at this point in the history
  3. forgotten add

    Alexander Hansen authored and Alexander Hansen committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    0a63193 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'stdlib_vector' of github.com:fuellabs/sway into stdlib_…

    …vector
    Alexander Hansen authored and Alexander Hansen committed Jun 24, 2021
    Configuration menu
    Copy the full SHA
    5891b81 View commit details
    Browse the repository at this point in the history