<commit_before>// main.swift
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
// -----------------------------------------------------------------------------
class A
{
    var x : Int64
    var y : Float

    init (int : Int64)
    {
        x = int
        y = Float(int) + 0.5
    }
    init (float : Float)
    {
        x = Int64(float)
        y = float
    }

    func do_something (_ input: Int64) -> Int64
    {
        return x * input;
    }
}

struct B
{
    var b_int : Int
    var b_read_only : Int
    {
        return 5
    }
}

extension B
{
    var b_float : Float
    {
        return Float(b_int) + 0.5
    }
}

enum SomeValues : Equatable 
{
    case Five 
    case Six 
    case Eleven 
}

func == (lhs: SomeValues, rhs: SomeValues) -> Bool
{
    switch (lhs, rhs)
    {
        case (.Five, .Five):
            fallthrough
        case (.Six, .Six):
            fallthrough
        case (.Eleven, .Eleven):
            return true
        case (_, _):
            return false
    }
}

extension SomeValues 
{
    func toInt() -> Int
    {
        switch self
        {
        case Five:
            return 5
        case Six:
            return 6
        case Eleven:
            return 11
        }
    }
}
  
func main () -> Void
{
    var is_five : Int64 = 5
    var is_six : Int64 = 6
    var is_eleven : Int64 = 11

    var float_5 : Float = 5.0
    var float_6 : Float = 6.0
    var float_11 : Float = 11.0

    var a_obj = A(int: is_six)
    var a_nother_obj = A(float: 6.5)

    var str_int_dict = ["five" : is_five, "six" : is_six, "eleven" : is_eleven]
    var int_str_dict : Dictionary<Int,String> = [5 : "five", 6 : "six", 11 : "eleven"]

    var eleven_by_dict = str_int_dict["five"]! + str_int_dict["six"]! // Dict breakpoint
    var eleven_str = int_str_dict[11]

    var an_int_array : Array<Int64> = [is_five, is_six, is_eleven]
    an_int_array.append(13)

    var b_struct = B(b_int:5)<commit_msg>adjust LLDB Swift test for SE-0036<commit_after>// main.swift
//
// This source file is part of the Swift.org open source project
//
// Copyright (c) 2014 - 2015 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See http://swift.org/LICENSE.txt for license information
// See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
// -----------------------------------------------------------------------------
class A
{
    var x : Int64
    var y : Float

    init (int : Int64)
    {
        x = int
        y = Float(int) + 0.5
    }
    init (float : Float)
    {
        x = Int64(float)
        y = float
    }

    func do_something (_ input: Int64) -> Int64
    {
        return x * input;
    }
}

struct B
{
    var b_int : Int
    var b_read_only : Int
    {
        return 5
    }
}

extension B
{
    var b_float : Float
    {
        return Float(b_int) + 0.5
    }
}

enum SomeValues : Equatable 
{
    case Five 
    case Six 
    case Eleven 
}

func == (lhs: SomeValues, rhs: SomeValues) -> Bool
{
    switch (lhs, rhs)
    {
        case (.Five, .Five):
            fallthrough
        case (.Six, .Six):
            fallthrough
        case (.Eleven, .Eleven):
            return true
        case (_, _):
            return false
    }
}

extension SomeValues 
{
    func toInt() -> Int
    {
        switch self
        {
        case .Five:
            return 5
        case .Six:
            return 6
        case .Eleven:
            return 11
        }
    }
}
  
func main () -> Void
{
    var is_five : Int64 = 5
    var is_six : Int64 = 6
    var is_eleven : Int64 = 11

    var float_5 : Float = 5.0
    var float_6 : Float = 6.0
    var float_11 : Float = 11.0

    var a_obj = A(int: is_six)
    var a_nother_obj = A(float: 6.5)

    var str_int_dict = ["five" : is_five, "six" : is_six, "eleven" : is_eleven]
    var int_str_dict : Dictionary<Int,String> = [5 : "five", 6 : "six", 11 : "eleven"]

    var eleven_by_dict = str_int_dict["five"]! + str_int_dict["six"]! // Dict breakpoint
    var eleven_str = int_str_dict[11]

    var an_int_array : Array<Int64> = [is_five, is_six, is_eleven]
    an_int_array.append(13)

    var b_struct = B(b_int:5)
{'fraction_non_alphanumeric': 0.1407702523240372, 'fraction_numerical': 0.02877379371403276, 'mean_word_length': 1.624274099883856, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7322245', 'n_tokens_mistral': 1647, 'n_tokens_neox': 1501, 'n_words': 444}