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

Fix get_range/1 for binaries #120

Merged
merged 2 commits into from
Jan 18, 2024
Merged

Commits on Jan 18, 2024

  1. Add test showing failure

    rrrene committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    a7fa8b0 View commit details
    Browse the repository at this point in the history
  2. Fix bug regarding delimiters in strings

    It seems escaped double quotes are not counted in `Sourceror.get_range/1`:
    
    ```elixir
    ~S"""
    "key: \"value\""
    """
    |> Sourceror.parse_string!()
    |> Sourceror.get_range()
    |> dbg
    ```
    rrrene committed Jan 18, 2024
    Configuration menu
    Copy the full SHA
    76ba0e0 View commit details
    Browse the repository at this point in the history