Skip to content

Commit

Permalink
Renaming the aux directory to avoid issues with Windows developers
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier de Silóniz Sandino committed Jan 16, 2018
1 parent 40dade1 commit 4515041
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
Expand Up @@ -5,7 +5,7 @@

package scalatutorial.sections

import scalatutorial.aux.{BankAccount, Note}
import scalatutorial.utils.{BankAccount, Note}

/** @param name classes_vs_case_classes */
object ClassesVsCaseClasses extends ScalaTutorialSection {
Expand Down
Expand Up @@ -5,7 +5,7 @@

package scalatutorial.sections

import scalatutorial.aux.BankAccount
import scalatutorial.utils.BankAccount

/** @param name imperative_programming */
object ImperativeProgramming extends ScalaTutorialSection {
Expand Down
Expand Up @@ -5,7 +5,7 @@

package scalatutorial.sections

import scalatutorial.aux.{Empty, IntSet, NonEmpty}
import scalatutorial.utils.{Empty, IntSet, NonEmpty}

This comment has been minimized.

Copy link
@GlulkAlex

GlulkAlex Jan 27, 2018

It looks like this caused a problem
at

def dynamicBinding(res0: Boolean, res1: Boolean): Unit = {

and ,
like in that log:

Evaluation failed : Compilation Error; 
ERROR -> object aux is not a member of package scalatutorial at [186, 186, 186]

/** @param name object_oriented_programming */
object ObjectOrientedProgramming extends ScalaTutorialSection {
Expand Down
4 changes: 2 additions & 2 deletions src/main/scala/scalatutorial/sections/TypeClasses.scala
Expand Up @@ -5,8 +5,8 @@

package scalatutorial.sections

import scalatutorial.aux.Rational
import scalatutorial.aux.Sorting.insertionSort
import scalatutorial.utils.Rational
import scalatutorial.utils.Sorting.insertionSort

/** @param name type_classes */
object TypeClasses extends ScalaTutorialSection {
Expand Down
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

class BankAccount {

Expand Down
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

abstract class IntSet {
def incl(x: Int): IntSet
Expand Down
Expand Up @@ -3,6 +3,6 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

case class Note(name: String, duration: String, octave: Int)
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

class Rational(x: Int, y: Int) {

Expand Down
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

trait Animal {
def fitness: Int
Expand Down
Expand Up @@ -3,7 +3,7 @@
* Copyright (C) 2015-2016 47 Degrees, LLC. <http://www.47deg.com>
*/

package scalatutorial.aux
package scalatutorial.utils

object Sorting {

Expand Down
Expand Up @@ -11,7 +11,7 @@ import org.scalatest.Spec
import org.scalatest.prop.Checkers
import shapeless.HNil

import scalatutorial.aux.Rational
import scalatutorial.utils.Rational

class TypeClassesSpec extends Spec with Checkers {

Expand Down

0 comments on commit 4515041

Please sign in to comment.