Skip to content

Conversation

@Soleod
Copy link
Collaborator

@Soleod Soleod commented Jun 18, 2025

No description provided.

@Soleod Soleod requested a review from szymon-rd June 18, 2025 19:16
@Soleod Soleod self-assigned this Jun 18, 2025
@Soleod
Copy link
Collaborator Author

Soleod commented Jun 18, 2025

We also have around 1k warnings because of not specifying type annotations for public variables and functions, personally for now I just silenced them but I can add those type annotations if you want

def of[T <: Value: Tag: FromExpr](xs: List[T]) =
GSeq
.gen[Int32](0, _ + 1)
.map { i =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here an extra {

when(n1 > n2) {
val n = n1 / n2
val sinT2 = n * n * (1f - cosX * cosX)
when(sinT2 > 1f) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

here and everywhere else we can also get rid of {

*/
private[cyfra] abstract class CommandPool(device: Device, queue: Queue) extends VulkanObjectHandle {
private[cyfra] abstract class CommandPool(device: Device, queue: Queue) extends VulkanObjectHandle:
protected val handle: Long = pushStack { stack =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

uuu braces

@Soleod Soleod merged commit 6392ce7 into main Jun 20, 2025
1 check passed
@Soleod Soleod deleted the TheGreatCleanup branch June 20, 2025 08:22
MarconZet pushed a commit that referenced this pull request Oct 20, 2025
* Added "-feature", "-deprecation", "-unchecked", "-language:implicitConversions" to scalacOptions

Whole code base should now use Scala3 new syntax and significant indents. If anyone sees unnecessary {} that I missed, please get rid of them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants