Problem description:
I am unable to access files in the workspace that are in a Folder with swift
Code
Used Code:
var mySpell: Spell? = nil
mySpell = Spell(Spell: { Targets, Params in
return Params
})
print(type(of: mySpell!.spell))
Expected behavior:
- Create Spell optional with a nil value
- Set Create a configured Spell object
- Command Parsed Properly and “Spell” printed
Actual behavior:
Error Logs:
main.swift:1:14: error: cannot find type 'Spell' in scope
var mySpell: Spell? = nil
^~~~~
main.swift:3:11: error: cannot find 'Spell' in scope
mySpell = Spell(Spell: { Targets, Params in
^~~~~
main.swift:7:1: error: type of expression is ambiguous without more context
print(type(of: mySpell!.spell))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steps to reproduce:
get your main file then place another file with any code in a folder and then try and use said code in main
Bug appears at this link:
https://replit.com/@MinerMinerMods/DndModifier
Browser:
Currently Irrelevant to Bug
Reasonable Type: Program Environment Bug