Skip to content

Commit

Permalink
cosmetic build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pavel-zhur committed Oct 9, 2024
1 parent 8b8d0f5 commit 66b4067
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -298,12 +298,12 @@ internal static (List<(string fragment, bool fromParentheses)>? fragments, Chord
return (trimmed, null);
}

private static (NoteRepresentation? bass, int? fret, ChordParseError? error) ExtractBass(ref string stringRepresentation, out Note? bass, ChordParsingOptions options)
private static (NoteRepresentation? bass, byte? fret, ChordParseError? error) ExtractBass(ref string stringRepresentation, out Note? bass, ChordParsingOptions options)
{
var slashParts = stringRepresentation.Split('/');
NoteRepresentation? bassRepresentation = null;
bass = null;
int? fret = null;
byte? fret = null;

switch (slashParts.Length)
{
Expand All @@ -325,7 +325,7 @@ private static (NoteRepresentation? bass, int? fret, ChordParseError? error) Ext
&& ChordConstants.Romans.WithIndicesNullable().SingleOrDefault(x => x.x == bassWithFret.Groups[2].Value).i is { } i)
{
stringRepresentation = string.Join(string.Empty, slashParts.SkipLast(1));
fret = i + 1;
fret = (byte)(i + 1);
}
}
}
Expand Down

0 comments on commit 66b4067

Please sign in to comment.