[swift-dev] console error

zhaoliang our880tom at 163.com
Fri Jan 8 23:07:28 CST 2016


hello ,
    I find a bug like this:

    zhaoliangdeMacBook-Pro:~ zhaoliang$ swift
Welcome to Apple Swift version 2.1.1 (swiftlang-700.1.101.15 clang-700.1.81). Type :help for assistance.
  1> var i =3
repl.swift:1:7: error: prefix '=' is reserved
var i =3
      ^

  1> var i=3
i: Int = 3
  2>  

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-dev/attachments/20160109/8d8b41e6/attachment.html>


More information about the swift-dev mailing list